For the front end:
cd front
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportFor the back end:
# open another terminal window
# install virtual env
[sudo] pip install virtualenv
# set up virtual environment
[sudo] virtualenv env
source env/bin/activate
# install requirements
cd back
pip install -r requirements.txt
# create fixture admin users for testing
cp admin.example.py admin.py
# add as many email and password for admin as needed,
# by editing the newly created admin.py file
# start local server localhost:5000
python app.py