Metadata-Version: 2.1
Name: sdf-heroku-deploy
Version: 2.0.0
Summary: 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.
Home-page: https://github.com/darkmathew/simple-docker-flask-deploy-to-heroku
License: MIT
Author: Matheus Santos
Author-email: 78329418+darkmathew@users.noreply.github.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Project-URL: Repository, https://github.com/darkmathew/simple-docker-flask-deploy-to-heroku
Description-Content-Type: text/markdown


# 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

```python
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

1. `sdfh_cli -img my_docker_image -hap my_heroku_app_name -r flask_app_runner`

2. `sdfh_cli --image_name my_docker_image --heroku_app_name my_heroku_app_name --run flask_app_runner`

Output 
```
./Dockerfile
./steps.txt
```

