forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
From 5.0 to 5.1
randx edited this page Apr 19, 2013
·
5 revisions
-
unicorn
replaced withpuma
- merge request cached diff will be truncated
sudo service gitlab stop
sudo -u git -H git fetch
sudo -u git -H git checkout 5-1-stable
sudo -u git -H cp config/puma.rb.example config/puma.rb
sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production
# init.d
sudo rm /etc/init.d/gitlab
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlab-recipes/5-1-stable/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
sudo service gitlab start