Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 902 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 902 Bytes

Music Box API

project-image

🛠️ Installation

  1. Clone the repository git clone https://github.com/MusicBoxRaspberryPi/MusicBoxAPI
  2. Rename .env.dist to .env
  3. Edit .env to your needs
  4. Install dependencies pip install -r requirements.txt
  5. Create Spotify App with redirect URIs: http://localhost:8080
  6. Copy Client ID and Client Secret from Spotify App -> Settings -> View client secret to .env
  7. Run python -m app.spotify.service, webpage should open in your browser and .cache file should be created

🚀 Usage

  • With Docker: docker compose up

  • Without Docker: python -m app.main