- Clone the repository
git clone https://github.com/MusicBoxRaspberryPi/MusicBoxAPI - Rename
.env.distto.env - Edit
.envto your needs - Install dependencies
pip install -r requirements.txt - Create Spotify App with redirect URIs:
http://localhost:8080 - Copy Client ID and Client Secret from Spotify App -> Settings -> View client secret to
.env - Run
python -m app.spotify.service, webpage should open in your browser and.cachefile should be created
-
With Docker:
docker compose up -
Without Docker:
python -m app.main