Show More
@@ -1,25 +1,25 | |||||
1 | .. _mig-repos: |
|
1 | .. _mig-repos: | |
2 |
|
2 | |||
3 | Migrating |repos| |
|
3 | Migrating |repos| | |
4 | ----------------- |
|
4 | ----------------- | |
5 | When you install |RCE| you will be presented with 2 choices: |
|
5 | When you install |RCE| you will be presented with 2 choices: | |
6 |
|
6 | |||
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. |
|
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. | |
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. |
|
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. | |
9 |
|
9 | |||
10 |
|
10 | |||
11 | .. important:: |
|
11 | .. important:: | |
12 | Repo storage path inside docker is configurable in ``rhodecode.ini`` file: |
|
12 | Repo storage path inside docker is configurable in ``rhodecode.ini`` file: | |
13 | ``repo_store.path = /var/opt/rhodecode_repo_store`` |
|
13 | ``repo_store.path = /var/opt/rhodecode_repo_store`` | |
14 |
|
14 | |||
15 | Mounting of local filesystem folder is configurable in ``docker-compose-apps.override.yaml`` |
|
15 | Mounting of local filesystem folder is configurable in ``docker-compose-apps.override.yaml`` | |
16 |
|
16 | |||
17 | Importing adds |RCE| git hooks to your |repos|. |
|
17 | Importing adds |RCE| git hooks to your |repos|. | |
18 |
|
18 | |||
19 | You should verify if custom ``.hg`` or ``.hgrc`` files inside |
|
19 | You should verify if custom ``.hg`` or ``.hgrc`` files inside | |
20 | repositories should be adjusted since |RCE| reads the content of them. |
|
20 | repositories should be adjusted since |RCE| reads the content of them. | |
21 |
|
21 | |||
22 | .. note:: |
|
22 | .. note:: | |
23 | Theres another override file for dev setup, which mounts default workspace folder as a repo storage by default. |
|
23 | There's another override file for dev setup, which mounts default workspace folder as a repo storage by default. | |
24 |
you can configure this by `` |
|
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``) |
|
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