Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrom (Thibaut CHARLES) <crom29@hotmail.fr>2013-11-06 14:14:48 +0400
committerCrom (Thibaut CHARLES) <crom29@hotmail.fr>2013-11-06 14:14:48 +0400
commit87fc35073a1f5ae84798263fc7c789a32f85d637 (patch)
treec586a1e4d56e93fd451f1827a29a5faea9767940 /config/unicorn.rb.example
parentd618a5fec361b85fafffd5cf4a53d044e82bdb5a (diff)
Fixed comments for running gitlab in a non-root path
- If you don't edit gitlab-shell/config.yml, you wnon't be able to push via SSH (as described here: http://stackoverflow.com/questions/15746336/gitlab-cant-push-code-to-server) - If you don't re-run sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production, some icons won't be visible
Diffstat (limited to 'config/unicorn.rb.example')
-rw-r--r--config/unicorn.rb.example4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/unicorn.rb.example b/config/unicorn.rb.example
index e4e13426831..911c93b53f4 100644
--- a/config/unicorn.rb.example
+++ b/config/unicorn.rb.example
@@ -10,10 +10,12 @@
# Uncomment and customize the last line to run in a non-root path
# WARNING: This feature is known to work, but unsupported
-# Note that three settings need to be changed for this to work.
+# Note that four settings need to be changed for this to work.
# 1) In your application.rb file: config.relative_url_root = "/gitlab"
# 2) In your gitlab.yml file: relative_url_root: /gitlab
# 3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
+# 4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab"
+# To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
#
# ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"