Steps in order to deploy sucessfully at Heroku:
- Adding the *.css and *.js to the config/production.rb
config.assets.precompile = %w[active_admin.css active_admin.js myStyle.css myScript.js]
- Precompiling the assets Heroku needs:
rake assets:precompile
- Commiting all the local changes with git:
git add app/assets
- Pushing the changes to Heroku for the corresponding environment:
git push staging master or git push production master
- Execute migrations for the corresponding environment:
heroku rake db:migrate --remote staging --app MyAppName
- Thats it go to the url provided by Heroku, if something goes wrong invoke:
heroku logs --app MyAppName or heroku sql --app MyAppName
