Skip to main content

Work library for Forge

Project description

Deploy a Django project to Heroku with minimal configuration.

This package is specifically designed to work with the Forge Quickstart and the Forge Heroku Buildpack.

Installation outside of the Forge Quickstart might work, but is not documented or necessarily recommended.

Default Procfile

When you use the Forge buildpack, Heroku will automatically set up a Procfile for you. Here's what it does:

web: forge serve
release: forge pre-deploy

If you need to customize your Procfile, simply add one to your repo!

Deploy checks

In the Heroku "release" phase we run manage.py check --deploy --fail-level WARNING as part of forge pre-deploy.

This runs a number of Django system checks (many related to the settings above) and will prevent deploying your app if any checks fail. You can also create your own checks that will run during this process.

Migrations

The forge pre-deploy will also run manage.py migrate to ensure that your database is up to date.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forge_heroku-0.4.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

forge_heroku-0.4.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page