application error

how deploy to heroku,i was make app with db postgresql(3 tabels) on local.
1.push (succes)
2.heroku run rake db:migrate (succes)
3.i click ‘open app’ on dashboard heroku show message appliaction error
4.i open logs on dashborad like this error H10 screenshot:

Try to launch your app locally in production mode

run rails -e production

error like this:

Internal Server Error

Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`

Pada Senin, 31 Oktober 2016 15.54.06 UTC+7, Chirag Jain menulis:

Basically when you run on heroku by the default the mode is production

so you need to match your development config with production

remember not every config value needs to be the same

specially the one mentioned out here - secret_key_base