I also just got this working locally, and was working on a doc for what to do :) If you create a .env file in the top of the repo with the following entries:
SPOTIPY_REDIRECT_URI=http://127.0.0.1:5000/
SPOTIPY_CLIENT_ID=REDACTED
SPOTIPY_CLIENT_SECRET=REDACTED
# oauth vars
CLIENT_ID=REDACTED
CLIENT_SECRET=REDACTED
CLIENT_CALLBACK=http://127.0.0.1:5000/auth/callback
# enable hot reload of the flask app and in-browser debugger
FLASK_ENV=development
FLASK_APP=mcgj
Then you can just run python3 -m flask run in that same dir (after setting up the oauth app on recurse and installing the deps).
I also just got this working locally, and was working on a doc for what to do :) If you create a
.env
file in the top of the repo with the following entries:Then you can just run
python3 -m flask run
in that same dir (after setting up the oauth app on recurse and installing the deps).