AI-comp / wpcs

2 stars 2 forks source link

Production environment #195

Closed murooka closed 11 years ago

murooka commented 11 years ago

refs #172 and some informations below. http://blog.livedoor.jp/maru_tak/archives/51247889.html http://guides.rubyonrails.org/configuring.html

I enabled serve_static_asserts in production environment and it's a little bit bad for performance. If we have enough time, we should disable that configuration and serve static files on HTTP server(Apache, Nginx, or Passenger).

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling e2139fbb11a90329c90eab6bcecefc306613abc7 on murooka:production_environment into 32b309409188087f6735bd06246b097908f0121c on TakenokoChocoHolic:master.

coveralls commented 11 years ago

Coverage Status

Coverage decreased (-0%) when pulling e2139fbb11a90329c90eab6bcecefc306613abc7 on murooka:production_environment into 32b309409188087f6735bd06246b097908f0121c on TakenokoChocoHolic:master.

murooka commented 11 years ago

And we should execute below commands on production environment.

rake db:setup (or db:reseed)
rake assets:precompile