Deploying on Heroku
DewKit can be deployed on Heroku using a custom buildpack or container-based deployment.
Steps
- Create a new Heroku app
- Provision PostgreSQL and Redis add-ons
- Set environment variables:
bash
heroku config:set DB_URL=...
heroku config:set CACHE_URL=...
heroku config:set SECRET_KEY=...- Build and deploy the application
- Run the install command once:
bash
heroku run ./dewkit install- Start the server:
bash
./dewkit runserver