Skip to content
randx edited this page Aug 21, 2012 · 3 revisions

1. Stop server & resque

2. Update code & db

# You may want to add 
# sudo -H -u gitlab 
# before each script

# Get latest code
git pull origin stable

# Install libs
bundle install --without development test

# update db
bundle exec rake db:migrate RAILS_ENV=production

# update gitolite hooks
bundle exec rake gitlab:gitolite:write_hooks RAILS_ENV=production

3. Start web server & Resque

Clone this wiki locally