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 requirements-linux.txt ```
Windows
``` pip install -r requirements-windows.txt ```
``` cd src/ ```
Linux/Mac
``` ./start-linux.sh ```
Windows
``` ./start-windows.sh ```
# Notes
Make sure to change the port in the start script as needed. Have fun!