- Export the flask environment variable
export FLASK_APP=app.py
- Run with
flask run
- If debug mode needs to be enabled for dev,
export FLASK_DEBUG=1
Note 1: As usual, activate your virtualenvironment and install requirements before attempting to run the app
source venv/bin/activate
then pip install -r requirements.txt
Note 2: Update config with the spotify app client id and client secret values. Update the secret key to a random string while at it too.