- Switch to api directory -
cd api
- Create a Virtual Environment -
python3 -m venv venv
- Activate the Virtual Environment -
source venv/bin/activate
(source venv/bin/activate.fish
if you are using fish) - Create .flaskenv file with relevant info -
echo -en "FLASK_APP=api.py\nFLASK_ENV=development" >.flaskenv
- Run
yarn start-api
in a new terminal. - Run
yarn start
in one terminal