Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 256 Bytes

testing-deployment.md

File metadata and controls

10 lines (8 loc) · 256 Bytes

Testing

  1. rake runs the test suite
  2. To test production with precompiled assets:
export SECRET_KEY_BASE=`rake secret`
alias test-prod='rake assets:clobber && RAILS_ENV=production bin/rake assets:precompile \
   && rails s -e production'