Flask-Project-Template/README.md

37 lines
645 B
Markdown

# Flask-Project-Template
A template to quickly standup a flask webapp with bootstrap and a database.
# Dependencies
``` sudo apt install python3 ```
# Setup
*** Change directory to Flask-Project-Template/ or rename the folder before doing so.
``` python3 -m venv venv/ ```
Linux/Mac
``` source bin/activate ```
Windows
``` source bin/Scripts/activate ```
Linux/Mac
``` pip install -r linux-requirements.txt ```
Windows
``` pip install -r windows-requirements.txt ```
``` cd src/ ```
Linux/Mac
``` ./linux-start.sh ```
Windows
``` ./windows-start.sh ```
# Notes
Make sure to change the port in the start script as needed. Have fun!