This project has been archived by its maintainers, and is no longer receiving any updates.
forge-heroku
Deploy a Django project to Heroku with minimal configuration.
This package is specifically designed to work with the Forge Heroku Buildpack.
$ forge heroku
Usage: forge heroku [OPTIONS] COMMAND [ARGS]...
Commands for deploying and managing Heroku apps
Options:
--help Show this message and exit.
Commands:
create Create a new Heroku app with Postgres...
pre-deploy Pre-deploy checks for release process
serve Run a production server using gunicorn
set-buildpacks Automatically determine and set buildpacks
shell Open a remote Django shell
Default Procfile
When you use the Forge buildpack,
Heroku will automatically set up a Procfile for you.
Here's what it does:
web: forge heroku serve
release: forge heroku 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 heroku 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 heroku pre-deploy will also run manage.py migrate to ensure that your database is up to date.
Metadata
Release files for forge-heroku 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| forge_heroku-1.0.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| forge_heroku-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / forge_heroku-1.0.0.tar.gz
| Download URL | forge_heroku-1.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbbafc2a724b0b1acc4eb01fd42829f8c72b484102936aa84f8a5917e5d231e1
|
|
BLAKE2b-256 checksum How to use checksums |
5373d5006a40c16402d7cd3e5636e73078923fc8208a85e0eb09c18f8760f38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
|
Release files / forge_heroku-1.0.0-py3-none-any.whl
| Download URL | forge_heroku-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdba1a46e545cc412dc9ab58c56007dd6841e7611cdfe66a421fc0e21099b419
|
|
BLAKE2b-256 checksum How to use checksums |
a23dab52f7e4a00e8062663eac3adb2ac8a0de68cd2d23f8715baf22c7fcc00c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure
|