aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-01-29 14:10:35 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-01-29 14:10:35 +0100
commit502e1af428761bfe70e94f65a5be5d3d53212cdb (patch)
tree07eedec128902d7ad933d3b3d1d18e1987f0f3e5
parentbea709e8050c8ea1cadc4908c723a0b20763a49f (diff)
downloadrhodecode-config-502e1af428761bfe70e94f65a5be5d3d53212cdb.tar.gz
Fixed git_repos reference: updated the directory name.
-rw-r--r--INSTALL15
-rw-r--r--config/rhodecode4
2 files changed, 10 insertions, 9 deletions
diff --git a/INSTALL b/INSTALL
index 5038f50..b77cb1c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -86,18 +86,18 @@ The RhodeCode installation will be done with a dedicated system user and group.
Necessary Directories
---------------------
-The following directories need to created and be writable at least by the
+The following directories need to be created and be writable at least by the
'rhodecode' user and/or group:
* /var/log/celery
* /var/log/rhodecode
* /opt/rhodecode
- * /opt/git_repos
+ * /opt/rhodecode/git_repos
The '/opt/rhodecode' directory is where RhodeCode will store its local data and
caches.
-The '/opt/git_repos' directory is where RhodeCode will store the git
+The '/opt/rhodecode/git_repos' directory is where RhodeCode will store the git
repositories directories.
If some of these directories need to be changed, it is necessary to update also
@@ -193,7 +193,7 @@ under the 'rhodecode' home directoy, with the user 'rhodecode'.
* $EMAIL: the email of the administrator
* $PWD: the password for the administrator
* $REPOS: the path of the directory where the git repositories will be saved,
- that for these instructions should be '/opt/git_repos'
+ that for these instructions should be '/opt/rhodecode/git_repos'
* Install RhodeCode, using the 'rhodecode' user home directory as the base:
python setup.py install --user
@@ -213,7 +213,8 @@ To use that configuration it is necessary to enable two Apache modules:
Disable also the 'default' Apache module.
If the directory where git repositories will be stored, is different than
-'/opt/git_repos', modify the Apache RhodeCode virtual host accordingly.
+'/opt/rhodecode/git_repos', modify the Apache RhodeCode virtual host
+accordingly.
Copy the file 'config/rhodecode' into the appropriate Apache directory and
reload the configuration.
@@ -296,9 +297,9 @@ This file has to be passed on the command line when cloning the repositories.
To clone all git.linaro.org repositories:
python scripts/mirror-repos --repos-list config/git_repos.txt \
- --checkout-dir /opt/git_repos --user rhodecode
+ --checkout-dir /opt/rhodecode/git_repos --user rhodecode
The script will mirror the repositories maintaining their directory structures.
To update the repositories, as a cron job for the 'rhodecode' user, run:
- python scripts/update-repos --repos-dir /opt/git_repos
+ python scripts/update-repos --repos-dir /opt/rhodecode/git_repos
diff --git a/config/rhodecode b/config/rhodecode
index 852d5f2..b4c22e4 100644
--- a/config/rhodecode
+++ b/config/rhodecode
@@ -7,8 +7,8 @@
Allow from all
</Proxy>
- Alias /git-ro/ /opt/git_repos/
- Alias / /opt/git_repos/
+ Alias /git-ro/ /opt/rhodecode/git_repos/
+ Alias / /opt/rhodecode/git_repos/
#Directive to properly generate url (clone url) for pylons
ProxyPreserveHost On