(FAS, Flask App Structure)
Contains a working example of a package Flask App
(This assumes you have Python installed)
- Download or Clone this repository.
- Open terminal (Linux) / powershell (Windows) and cd to the directory of the project.
# Linux
cd /path/to/FAS-3-Application-Factory
# Windows
cd C:\path\to\FAS-3-Application-Factory
Create a virtual environment and activate it.
python3 -m venv venv
source venv/bin/activate
Install the requirements.
pip install -r requirements.txt
run
flask run
or
python3 run.py
Create a virtual environment and activate it.
python -m venv venv
.\venv\Scripts\activate
Install the requirements.
pip install -r requirements.txt
run
flask run
or
python run.py