Skip to content

A repo that contains a working example of Flask being setup over split modules.

License

Notifications You must be signed in to change notification settings

Flask-Planet/FAS-2-Split-Modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAS-2-Split-Modules

(FAS, Flask App Structure)

Contains a working example of a Flask App setup using split modules.

Attribution

CheeseCake87 (David Carmichael)

License

See: LICENSE

Viewing the source code of this project acknowledges that you have read and understood the license.

Setup

(This assumes you have Python installed)

  1. Download or Clone this repository.
  2. Open terminal (Linux) / powershell (Windows) and cd to the directory of the project.
# Linux
cd /path/to/FAS-2-Split-Modules

# Windows
cd C:\path\to\FAS-2-Split-Modules

Linux

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 app.py

Windows

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 app.py

About

A repo that contains a working example of Flask being setup over split modules.

Topics

Resources

License

Stars

Watchers

Forks