mirror of
https://github.com/strapi/strapi.git
synced 2025-06-27 00:41:25 +00:00
Page:
Deploy on Heroku
Pages
Create files on Heroku
Deploy on Heroku
Frequently Asked Questions
Home
Migration guide alpha.10 to alpha.11
Migration guide alpha.11 to alpha.12
Migration guide alpha.12.1 to alpha.12.2
Migration guide alpha.12.2 to alpha.12.3
Migration guide alpha.12.3 to alpha.12.4
Migration guide alpha.12.4 to alpha.12.5
Migration guide alpha.12.5 to alpha.12.6
Migration guide alpha.12.6 to alpha.12.7
Migration guide alpha.12.7 to alpha.13
Migration guide alpha.13 to alpha.13.1
Migration guide alpha.13.1 to alpha.14
Migration guide alpha.14 to alpha.14.1
Migration guide alpha.14.1 to alpha.14.2
Migration guide alpha.14.2 to alpha.14.3
Migration guide alpha.14.3 to alpha.14.4
Migration guide alpha.14.4 to alpha.14.5
Migration guide alpha.14.5 to alpha.15
Migration guide alpha.15 to alpha.16
Migration guide alpha.7.4 to alpha.8
Migration guide alpha.8 to alpha.9
Migration guide alpha.9 to alpha.10
Migration guide
Switch from dev app to prod
Clone
2
Deploy on Heroku
Jim LAURIE edited this page 2018-11-05 16:33:20 +01:00
Table of Contents
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:
- Remove environment values and set your database connection for your production environment.
- 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.
Strapi Docs