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
Built Distribution
File details
Details for the file forge_heroku-0.3.0.tar.gz
.
File metadata
- Download URL: forge_heroku-0.3.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f47445d618bc7b33c2313eac9c9d1046ab2531437ddf3b0db9762e8a718801 |
|
MD5 | 7261d60a0948818ab07d5e75f20ffa08 |
|
BLAKE2b-256 | 8904ed17e163240d8bfc9b6597b6d0d8f2d2e3fb91a8aae622504a5ba5bd278a |
File details
Details for the file forge_heroku-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: forge_heroku-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55d3db146f2e9f129690d78564572a1802d27b6ad40db0ad1459f52ba11023f |
|
MD5 | 39ed7f4978e598b67ec1edea48fbf181 |
|
BLAKE2b-256 | 0a979694661b44685e986587fd281e3e9b920824c0e4dd8f9afc4a4deb6fe3d5 |