Skip to content
Snippets Groups Projects
Unverified Commit a19b4e75 authored by Christian Mehlmauer's avatar Christian Mehlmauer
Browse files

make cleanup optional

parent 7ea3bbd4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -64,7 +64,7 @@ sudo -u git -H bundle install --without postgres development test --deployment
# PostgreSQL installations (note: the line below states '--without mysql')
sudo -u git -H bundle install --without mysql development test --deployment
 
# Clean up old gems
# Optional: clean up old gems
sudo -u git -H bundle clean
 
# Run database migrations
Loading
Loading
Loading
Loading
@@ -62,8 +62,13 @@ sudo -u git -H bundle install --without development test mysql --deployment
# MySQL
sudo -u git -H bundle install --without development test postgres --deployment
 
# Optional: clean up old gems
sudo -u git -H bundle clean
# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Clean up assets and cache
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
```
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment