Skip to content

Deploying on Heroku

DewKit can be deployed on Heroku using a custom buildpack or container-based deployment.

Steps

  1. Create a new Heroku app
  2. Provision PostgreSQL and Redis add-ons
  3. Set environment variables:
bash
heroku config:set DB_URL=...
heroku config:set CACHE_URL=...
heroku config:set SECRET_KEY=...
  1. Build and deploy the application
  2. Run the install command once:
bash
heroku run ./dewkit install
  1. Start the server:
bash
./dewkit runserver