Show More
@@ -1,6 +1,6 | |||||
1 | ## BUILD |
|
1 | ## BUILD | |
2 | # cd docs |
|
2 | # cd docs | |
3 | # docker build --tag sphinx-doc-build-rc . |
|
3 | # docker build --tag sphinx-doc-build-rc . | |
4 |
|
4 | |||
5 | # Build Docs |
|
5 | # Build Docs | |
6 |
# docker run --rm -v $( |
|
6 | # cd && docker run --rm -v $(pwd):/project --workdir=/project/docs sphinx-doc-build-rc make clean html No newline at end of file |
@@ -1,23 +1,25 | |||||
1 | .. _mig-repos: |
|
1 | .. _mig-repos: | |
2 |
|
2 | |||
3 | Migrating |repos| |
|
3 | Migrating |repos| | |
4 | ----------------- |
|
4 | ----------------- | |
5 |
|
5 | When you install |RCE| you will be presented with 2 choices: | ||
6 | If you have installed |RCE| and have |repos| that you wish to migrate into |
|
|||
7 | the system, use the following instructions. |
|
|||
8 |
|
6 | |||
9 | 1. On the |RCE| interface, check your |repo| storage location under |
|
7 | 1. Mount existing folder on your local filesystem, and this is what |RCE| will use to store your repos. In this case |RCE| will automatically import repos present in that folder. You can also do :ref:`remap-rescan` from admin interface to force new repos discovery. | |
10 | :menuselection:`Admin --> Settings --> System Info`. For example, |
|
8 | 2. Use docker named volume ``rc_reposvolume`` - in this case you can either set create new |repo| in |RCE| UI and set it as a remote for your local repo, and then push. If your repo is hosted somewhere else, click "Import Existing Repository ?" and provide url to it. |RCE| will attempt to pull it and import. | |
11 | Storage location: /home/{username}/repos. |
|
|||
12 |
|
9 | |||
13 | 2. Copy the |repos| that you want |RCE| to manage to this location. |
|
|||
14 | 3. Remap and rescan the |repos|, see :ref:`remap-rescan` |
|
|||
15 |
|
10 | |||
16 | .. important:: |
|
11 | .. important:: | |
|
12 | Repo storage path inside docker is configurable in ``rhodecode.ini`` file: | |||
|
13 | ``repo_store.path = /var/opt/rhodecode_repo_store`` | |||
17 |
|
14 | |||
18 | Directories create |repo| groups inside |RCE|. |
|
15 | Mounting of local filesystem folder is configurable in ``docker-compose-apps.override.yaml`` | |
|
16 | ||||
|
17 | Importing adds |RCE| git hooks to your |repos|. | |||
19 |
|
18 | |||
20 | Importing adds |RCE| git hooks to your |repos|. |
|
19 | You should verify if custom ``.hg`` or ``.hgrc`` files inside | |
|
20 | repositories should be adjusted since |RCE| reads the content of them. | |||
21 |
|
21 | |||
22 | You should verify if custom ``.hg`` or ``.hgrc`` files inside |
|
22 | .. note:: | |
23 | repositories should be adjusted since |RCE| reads the content of them. |
|
23 | Theres another override file for dev setup, which mounts default workspace folder as a repo storage by default. | |
|
24 | you can configure this by ``changing docker-compose-apps.dev.yaml`` | |||
|
25 | (and commenting out all lines ``$WORKSPACE_HOME:/var/opt/rhodecode_repo_store:delegated``) |
General Comments 0
You need to be logged in to leave comments.
Login now