How to run this project locally
- Clone repo, cd into the directory
- create a virtual environment and activate it (keeps all dependencies in the virtual environment, without installing globally) python -m venv music-in-context-venv source music-in-context-venv/bin/activate
- run
pip install -r requirements.txt
- create a spotify developer account, retrieve your client id and client secret key, store it in the following env vars
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
- setup MongoDBdocker container docker pull mongo:latest docker run mongo:latest
- set the environment variable
ENV
todev
- run
python app.py
and you should now be able to interact with the api on localhost:7000