config and precompile for heroku