- Unzip the project and open terminal in project folder.
- Create virtual env: python -m venv .venv .venv\Scripts\activate
- Install requirements: pip install -r requirements.txt
- Set environment variable (PowerShell): setx MUSICGPT_API_KEY "your_key_here" (or in current session: $env:MUSICGPT_API_KEY='your_key_here')
- Run migrations and start: python manage.py migrate python manage.py runserver
- Open http://127.0.0.1:8000
- Push repo to GitHub.
- Create Web Service on Render and connect repo.
- Build command: pip install -r requirements.txt
- Start command: gunicorn songstories.wsgi
- Add ENV var MUSICGPT_API_KEY in Render dashboard.