This application was created as an exercise to further explore the Python framework Flask.
https://github.com/nathangthomas/flsk_blog
- Type
python3 run.py
in your terminal to spin up your server. - Visit http://127.0.0.1:5000 in your browser to interact with the app.
- Run the test suite ...
(This functionality is not currently set up.) You can also interact with a live version of Flask Blog hosted on Heroku HERE.
pip install gunicorn
pip freeze > requirements.txt
- Ensure your requirements.txt is in the project root folder, else your heroku application will fail to deploy.
- Create a Procfile in the project root folder and add the following line:
web: gunicorn run:app
- Save and commit all changes then ...
git push heroku master