Commit affc37ad authored by Arif Ali's avatar Arif Ali

change deploy.sh without mysql, now that we are moving to postgres

parent d0e73eec
...@@ -28,7 +28,7 @@ sudo -u git -H git pull origin master ...@@ -28,7 +28,7 @@ sudo -u git -H git pull origin master
echo 'Deploy: Bundle and migrate' echo 'Deploy: Bundle and migrate'
# change it to your needs # change it to your needs
sudo -u git -H bundle --without aws development test postgres --deployment sudo -u git -H bundle --without aws development test mysql --deployment
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
...@@ -42,4 +42,4 @@ echo 'Deploy: Starting GitLab server...' ...@@ -42,4 +42,4 @@ echo 'Deploy: Starting GitLab server...'
sudo service gitlab start sudo service gitlab start
sudo -u git -H rm /home/git/gitlab/public/index.html sudo -u git -H rm /home/git/gitlab/public/index.html
echo 'Deploy: Done' echo 'Deploy: Done'
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment