Gunicorn running the Flask backend and Vue.js in the frontend. Uses SQLite as a database.
cd .../or_hadad_nvidia/source_code/server
- change directory to the project server directorypython3 -m venv venv
- create a virtual environmentsource venv/bin/activate
- activate the virtual environment for the backendpython3 -m pip install -r requirements.txt
- install backend dependenciesvenv/bin/gunicorn --bind 0.0.0.0:5000 main:app
- start the backend in a gunicorn server (make sure port 5000 is free)cd ../client
in a new terminal instance - change directory to the vue appnpm install
- install frontend dependenciesnpm run serve
- start the client- use the app from the vue domain - default is localhost:8080
- written and tested in python 3.7.5, vue 4.0.5