forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Old Update Guides
riyad edited this page Oct 23, 2012
·
1 revision
# from github
git pull origin 1x
# update libs
bundle install
# update db
bundle exec rake db:migrate RAILS_ENV=production
# give your server user access to remove git repo
# Ex.
# If you are going to use user 'gitlabhq' for rails server
# gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
#
echo "USERNAME ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
# from github
git pull origin 1x
# update libs
bundle install
# update db
bundle exec rake db:migrate RAILS_ENV=production