Commit 79c4fd7a authored by Grégoire Paris's avatar Grégoire Paris Committed by Grégoire Paris

Handle several RDBMS

parent b536acc9
...@@ -21,8 +21,12 @@ sudo -u git -H git checkout 5-1-stable ...@@ -21,8 +21,12 @@ 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 cp config/puma.rb.example config/puma.rb
# Mysql users:
sudo -u git -H bundle install --without development test postgres --deployment sudo -u git -H bundle install --without development test postgres --deployment
# Postgres users:
sudo -u git -H bundle install --without 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 migrate_merge_requests RAILS_ENV=production sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production
......
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