Instructions only for Python3 on Mac.
Backend: (Run all in root directory)
- Setup Virtual Environment:
python3 -m venv venv
- Activate virtual environment:
. venv/bin/activate
- Install all package dependancies:
pip install -r requirements.txt
- Set environment variable for the Flask server entrypoint:
export FLASK_APP=server/app.py
- Set environment variable for development (auto refresh and better stacktraces):
export FLASK_ENV=development
- Start the server on
http://127.0.0.1:5000/
:flask run
Frontend (Run in frontend directory):
- Install Node
- Install all package dependencies:
yarn
- Start server:
yarn start
All resources from: