Note some requirements in requirements.txt
are for Heroku only. Below are the
actual requirements for running the application locally.
- python3-dev libmysqlclient-dev
- Python 3 (Python 2 untested)
Note these are *nix instructions, usage on Windows may be different. Using a *nix system is highly recommended to avoid any undue frustration.
$ export FLASK_APP=microURL.py
$ flask run
This application has been successfully deployed to Heroku as well. The required Heroku files are included,
- Procfile
- requirements.txt
- runtime.txt
See the Flask documents for more information about using Flask.