- Clone the repository
git clone https://github.com/MusicBoxRaspberryPi/MusicBoxAPI
- Rename
.env.dist
to.env
- Edit
.env
to 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.cache
file should be created
-
With Docker:
docker compose up
-
Without Docker:
python -m app.main