API for Movie Night built with Django
.idea | ||
djangodocker | ||
static | ||
users | ||
.env.example | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
firstRun.sh | ||
manage.py | ||
README.md | ||
requirements.txt |
Django Docker Template
Starter template for Django in a Docker container. Includes Postgres for the database and Django Rest Framework configured with Knox token authentication enabled.
Dependencies
- Docker (running as non-root user)
- Git
How to use
- Clone the project and enter the project directory
git clone https://edbuildsthings.com/tiradoe/django-docker-template.git
cd django-docker-template
- Run the setup script
./firstRun.sh
and enter information when prompted- If something goes wrong, running
git checkout .
will restore any changes but you'll need to manually delete the project directory that was created
That's it! You should now have a basic project running with documentation at http://localhost:8000