Install dependencies with
$ pip install -r requirements.txt
edit spotipy_oauth_demo.py to enter your Spotify app credentials
SPOTIPY_CLIENT_ID = 'your_client_id'
SPOTIPY_CLIENT_SECRET = 'your_client_secret'
start server with
$ python spotipy_oauth_demo.py
open http://localhost:8080 in a browser