FrontEndWebserver
Welcome!
Please ensure to install all of the dependencies listed below:
python -m pip install...
requests
json
flask
flask-dotenv
flask-wtf
flask-sqlalchemy
flask-migrate
flask-login
Now navigate to the folder where this file is located and type the following: IF USING 64-BIT: python -m flask run IF USING 32-BIT: flask run
--- DATABASE ---
If you wish to refresh the database:
- Delete app.db
- python -m flask db init
- python -m flask db migrate
If you wish to update the database with new tables, etc:
- python -m flask db upgrade
- python -m flask db migrate
NOTE: IF this doesnt work, go to refresh the database as instructed above.