This is a work in progress, using parts of the double diamond design process.
For details of the design process, refer to design_process.md
pipenv install
If you want to use the jupyter notebooks then you will also need to run this (may take 5-10 minutes, because it re-compiles all of the jupyter lab frontend assets).
pipenv run jupyter labextension install jupyterlab-plotly @krassowski/jupyterlab-lsp
cp .env.example .env
- Go to https://developer.spotify.com/dashboard/applications and click
CREATE A CLIENT ID
. - Fill in the form to create a new app.
- Go into your newly created app
- Copy the relevant values into SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET.
- Click
EDIT SETTINGS
- Copy the value from
SPOTIPY_REDIRECT_URI
intoRedirect URIs
, and clickADD
- (If you get a white error page from spotify saying
INVALID_CLIENT: Invalid redirect URI
in a later page, you forgot to do this step)
- (If you get a white error page from spotify saying
- Copy the value from
pipenv run python easter_project/app.py
It should pop up an authorisation page.
Once you have authorized your app, it should print out a message in the terminal saying where the dashboard is hosted. Go there to view the dashboard.
pipenv run jupyter labextension install jupyterlab-plotly