herokufu
============
by John Mark Schofield (jms@schof.org)
Provides common utility functions for Django projects on Heroku.
(It's heroku-fu as in Kung Fu, not as in F-U.)
IMPORTANT NOTE:
Please check the version number. This is pre-1.0 software. It's useful as examples of what I'm doing, but not yet ready for general-purpose production. (We're using it in production, but slight differences from our setup may break it.)
Requirements:
You must have vagrant and virtualbox and virtualenvwrapper installed.
Suggested installation workflow:
* Make project directory:
mkdir ~/versoncontrol/PROJECT
cd ~/versioncontrol/PROJECT
git init
django-admin.py createproject or mezzanine createproject
hfu init
edit files in settings directory
Offers the command hfu.
Examples:
hfu manage -- sends command-line arguments to manage.py on runlocal
hfu runlocal -- runs django project in a vagrant/virtualbox VM, accessible via 127.0.0.1:8000
hfu staging_push -- push all assets to staging, creating staging environment if necessary.
hfu staging_manage -- send command-line arguments to manage.py on staging
hfu staging_destroy -- remove staging server, stopping yourself from being charged for it.
hfu test -- Does "hfu staging push," runs tests, and reports on them, then runs "hfu staging destroy"
hfu prod_push -- Does hfu test, and if tests pass, pushes all assets to production
hfu prod_manage -- send command-line arguments to manage.py on prod
hfu prod_reset -- Destroys prod, and then runs "hfu prod push"
hfu prod_revert -- Revert to previous build if most recent prod push has issues. THIS IS A TEMPORARY FIX WHILE YOU FIX THE ISSUE. Do not leave a an app in a reverted state! (This is because dyno changes may create new dynos with the current HEAD, not the reverted state.)
Metadata
Release files for herokufu 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| herokufu-0.0.3.tar.gz | 4.9 kB | Without provenance | Details for herokufu-0.0.3.tar.gz |
Release files / herokufu-0.0.3.tar.gz
| Download URL | herokufu-0.0.3.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fc0696fa6e848cbeae76ea2f892eaf600a080503415147f3705cf7cb53ffc88
|
|
BLAKE2b-256 checksum How to use checksums |
074017cec507ade01921fc0f2ddbf91fbd6c7caf528ffc83c09b2de27716cbd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for herokufu 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.