This script generates a Dockerfile with the basic settings to deploy your flask application to heroku. And as a bonus a steps.txt with the step by step for you to publish the project.
Project description
Project Description
This script generates a Dockerfile with the basic settings to deploy your flask application to heroku. And as a bonus a steps.txt with the step by step for you to publish the project.
Note: Run the script inside your project folder.
Installation from Pypi
pip install sdf-heroku-deploy
Module Usage
from sdf_heroku_deploy import main
main()
CLI Usage
Get the list of available commands
sdfh_cli --help
Output
Options:
-img, --image_name TEXT Type the name of the image you want to give
the image to be created.
-hap, --heroku_app_name TEXT Type the name of the heroku app you want to
give the app to be created.
-r, --run TEXT Type the name of the file that runs your flask
application.
--help Show this message and exit.
Commands usage example
-
sdfh_cli -img my_docker_image -hap my_heroku_app_name -r flask_app_runner -
sdfh_cli --image_name my_docker_image --heroku_app_name my_heroku_app_name --run flask_app_runner
Output
./Dockerfile
./steps.txt
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdf_heroku_deploy-2.0.0.tar.gz.
File metadata
- Download URL: sdf_heroku_deploy-2.0.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be229c31afd726dc6d16351a4b718101e9238ce3df38a22a307b9fd6e66cf975
|
|
| MD5 |
9c7aa820289f6a099b619f380b29c77a
|
|
| BLAKE2b-256 |
e78e62793119f18cda5c9295342bedc9bcf489867c2527264a3792e073f3f91f
|
File details
Details for the file sdf_heroku_deploy-2.0.0-py3-none-any.whl.
File metadata
- Download URL: sdf_heroku_deploy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3578ea291ea195a7572603de2cd86002b8439a18ecc7805c592690534c7fc1d
|
|
| MD5 |
57ee9fee48243b652cede9ace470fb20
|
|
| BLAKE2b-256 |
cbf42902276f7b4f4451cd3ad99919f45734b32492850a33a5fc6194e30d7a3e
|