A template for a personal portfolio built with Flask. See it on Heroku.
Make sure you have python3 and pip installed.
Create and activate a virtual environment using the venv
module.
$ python -m venv .venv
$ source .venv/bin/activate
Use the package manager pip to install all dependencies
pip install -r requirements.txt
Note that on certain Linux distros it may be necessary to use python3
and pip3
instead.
Create a .env
file using the example.env
file as a template.
Start the Flask development server with:
$ flask run
Install pytest
, then run it from the project root with:
$ pytest