Self-hosted music streaming service.
- Fork repository on Github.
- Create app via the Heroku dashboard.
- Select Github as deployment method, select your fork.
- Manually deploy the master branch.
- Add a Heroku Postgres database via the Add-ons interface.
- Run migrations via Heroku CLI:
heroku run "python manage.py migrate" --app=APP_NAME - Create admin user:
heroku run "python manage.py createsuperuser" --app=APP_NAME
- Install and start up Docker.
- Clone and
cdinto the project directory. - Web server runs on port
8000by default. Change indocker-compose.ymlas needed. - Build Docker containers:
docker-compose build - Run Docker containers:
docker-compose up - Open a new tab and run bash in the Django container:
docker exec -it music-server_web bash - Run migrations:
python manage.py migrate - Create admin user:
python manage.py createsuperuser