A project to demonstrate the use of django to upload, view and share audio files.
Django Audio Manager is a demonstration project showing the use of django to upload and share media files with django.
docker-compose up
, docker-compose up --build
, etc...
Start the application normally with docker-compose up
- Apply migrations to the database
docker-compose exec backend python manage.py migrate
- Collect static folder
docker-compose exec backend python manage.py collectstatic
- Create a root user
docker-compose exec backend python manage.py createsuperuser
In the future, collecting static files may be part of the build process
but at present it is a manual step because then the files can be somewhere
convenient to be volumed by the nginx reverse-proxy
image.
Additionally, these files are totally unnecessary for the public facing site and are only relevant for the admin site, which itself should be behind an IP Whitelist or some similar protection on any production environment.
Services:
- frontend
- backend
- reverse-proxy
- db
Technologies:
- django
- django rest framework
- django rest framework jwt
- React
- material-ui
- paper-dashboard
- nginx
- postgres
https://github.com/creativetimofficial/paper-dashboard-react