Tuesday 4 September 2012

rake db production


Production environment  in localhost

rake db:migrate RAILS_ENV="production"

RAILS_ENV=production bundle exec rake assets:precompile

rails s -e production


for heroku:

heroku create --stack cedar

No comments:

Post a Comment