Deploy a Strapi Application to Heroku

Share this video with your friends

Send Tweet

Now that we've got a functioning application it's time to deploy. For Strapi, we'll use Heroku to deploy for production. To do so we will need to create a production environment file for database.js and server.js, then we log into Heroku and created a new app. Once logged in we will set all the environment variables in Heroku. Finally, we pushed our code to Heroku and saw our application running live on the web.

James
James
~ a year ago

It's worth mentioning you can also set your environment variables in app in addition to the cli.