Skip to content

Relative URL Root Patch

Hassan Amouhzi edited this page Aug 1, 2013 · 10 revisions

** WARNING **


This patch is valid for Gitlab 5.4 for moment.

Apply this patch at your own risk.


After installation of Gitlab, do these instructions:

cd /home/git/gitlab
  1. Change the remote:
sudo -u git -H git remote set-url origin https://github.com/anezi/gitlabhq.git
  1. Update the source code:
sudo -u git -H git pull
  1. Update config/application.rb
sudo -u git -H vim config/application.rb

Uncomment the line nr: 73

Change assets version in line nr: 69

  1. Update assets:
sudo -u git -H RAILS_ENV=production bundle exec rake assets:precompile
  1. Restart gitlab:
sudo service gitlab restart
  1. Clean browser cache

Finally clean your browser cache.

To report an issue: https://github.com/anezi/gitlabhq/issues

For general issues please go to: https://github.com/gitlabhq/gitlabhq/issues?state=open

githalytics.com alpha

Clone this wiki locally