Deploy your admin backend on Heroku

Please be sure of your agent type and version and pick the right documentation accordingly.

This is the documentation of the forest-express-sequelize and forest-express-mongoose Node.js agents that will soon reach end-of-support.

forest-express-sequelize v9 and forest-express-mongoose v9 are replaced by @forestadmin/agent v1.

Please check your agent type and version and read on or switch to the right documentation.

Deploy your admin backend on Heroku

This tutorial is designed to assist people who want to have a step-by-step guide to deploy the Lumber-generated admin backend to Heroku.

If you don’t have a Heroku account yet, sign up here. Then, create your first Heroku application (1) (2).

After creating your application, simply follow the Heroku guide “Deploy using Heroku Git” to push the lumber-generated admin backend code to the Heroku application.

Push your code using the following command:

git push heroku master

Your admin backend is now deployed in a remote Heroku application. 🎉

The last step to have a complete running application is to deploy a database remotely.

For this, you can follow our Populate a remote database how-to.

This does not mean your project is deployed to production on Forest Admin. To deploy to production, check out this section after you've completed the above steps.

Last updated