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 linux-requirements.txt ```
2020-02-24 05:45:27 +00:00
Windows
``` pip install -r windows-requirements.txt ```
2020-02-24 05:45:27 +00:00
2019-11-01 22:54:25 +00:00
``` cd src/ ```
2020-02-24 05:45:27 +00:00
Linux/Mac
``` ./linux-start.sh ```
2020-02-24 05:45:27 +00:00
Windows
``` ./windows-start.sh ```
2020-02-24 05:45:27 +00:00
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!