Setup instructions
- Check that python, npm, and pip are all installed:
python --version
npm --version
pip --version
- Install node modules:
npm install
- Build frontend with webpack:
npm run watch
<-- changing files in the client folder will automatically trigger a rebuild - In a new terminal tab: Create a virtual environment for python
- Install venv:
pip install virtualenv
- Create a virtual environment:
virtualenv env
ORpython3 -m venv env
(if on python 3) - Start the virtual env:
source env/bin/activate
- Install venv:
- Inside virtual env: Install flask:
pip install flask
andpip install flask_cors
- Start the server:
python server/server.py
- Go to
localhost:5000
in your web browser