Commit 79c4fd7a7d3ac17e7f324d001af47c15b89f0cc0
Committed by
Grégoire Paris
1 parent
b536acc9
Exists in
master
and in
4 other branches
Handle several RDBMS
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
doc/update/5.0-to-5.1.md
| ... | ... | @@ -21,8 +21,12 @@ sudo -u git -H git checkout 5-1-stable |
| 21 | 21 | ``` |
| 22 | 22 | sudo -u git -H cp config/puma.rb.example config/puma.rb |
| 23 | 23 | |
| 24 | - | |
| 24 | +# Mysql users: | |
| 25 | 25 | sudo -u git -H bundle install --without development test postgres --deployment |
| 26 | + | |
| 27 | +# Postgres users: | |
| 28 | +sudo -u git -H bundle install --without development test mysql --deployment | |
| 29 | + | |
| 26 | 30 | sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production |
| 27 | 31 | sudo -u git -H bundle exec rake migrate_merge_requests RAILS_ENV=production |
| 28 | 32 | ... | ... |