2
Deploy on Heroku
Jim LAURIE edited this page 2018-11-05 16:33:20 +01:00

Maybe you can have an issue to deploy your app on Heroku.

Database connection

The database connection can be the reason why.

Heroku deploy your app in production environment (link).

Check your database config file ./config/environment/production/database.json, you will see some ${process.env.} variables.

You have two choices:

  1. Remove environment values and set your database connection for your production environment.
  2. Add environment variables in your Heroku instance.

⚠️URI is deprecated check this issue https://github.com/strapi/strapi/issues/2136 Will be fixed soon as possible.