Commit 7d696010 authored by Chai Xue Liang's avatar Chai Xue Liang

Add assets precompile step for fixing activities lost and some UI style issues

parent d3c429ed
...@@ -42,6 +42,8 @@ sudo -u git -H bundle install --without development test postgres --deployment ...@@ -42,6 +42,8 @@ sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle install --without development test mysql --deployment 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 assets:precompile RAILS_ENV=production
``` ```
### 5. Update config files ### 5. Update config files
......
...@@ -34,6 +34,8 @@ sudo -u git -H bundle install --without development test postgres --deployment ...@@ -34,6 +34,8 @@ sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle install --without development test mysql --deployment 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 assets:precompile RAILS_ENV=production
``` ```
### 4. Update config files ### 4. Update config files
......
...@@ -34,6 +34,8 @@ sudo -u git -H bundle install --without development test postgres --deployment ...@@ -34,6 +34,8 @@ sudo -u git -H bundle install --without development test postgres --deployment
sudo -u git -H bundle install --without development test mysql --deployment 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 assets:precompile RAILS_ENV=production
``` ```
### 4. Update config files ### 4. Update config files
......
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