Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 524 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 524 Bytes

asteroid-api

Setup

pip install -r requirements.txt

Running

python run.py

Configure with environment variables:

  • MUSIC_PATH: path to directory to keep music (directory must exist)
  • MONGO_SRV: mongodb+srv url
  • DEBUG: enable hot reload

For example, a full launch command could be

DEBUG=True MONGO_SRV="mongodb://localhost:27017" MUSIC_PATH="~/some/path" python run.py

Built with FastAPI and uvicorn ASGI.