Flask-Project-Template/README.md

37 lines
645 B
Markdown
Raw Normal View History

2019-11-01 22:54:25 +00:00
# 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.
2020-03-04 03:29:20 +00:00
``` python3 -m venv venv/ ```
2019-11-01 22:54:25 +00:00
2020-02-24 05:45:27 +00:00
Linux/Mac
2019-11-01 22:54:25 +00:00
``` source bin/activate ```
2020-02-24 05:45:27 +00:00
Windows
``` source bin/Scripts/activate ```
Linux/Mac
``` pip install -r requirements-linux.txt ```
Windows
``` pip install -r requirements-windows.txt ```
2019-11-01 22:54:25 +00:00
``` cd src/ ```
2020-02-24 05:45:27 +00:00
Linux/Mac
``` ./start-linux.sh ```
Windows
``` ./start-windows.sh ```
2019-11-01 22:54:25 +00:00
# Notes
2020-02-24 05:45:27 +00:00
Make sure to change the port in the start script as needed. Have fun!