API for Movie Night built with Django
Find a file
2025-03-30 18:10:07 -05:00
.idea initial commit 2025-03-30 00:57:14 -05:00
djangodocker initial commit 2025-03-30 00:57:14 -05:00
users initial commit 2025-03-30 00:57:14 -05:00
.env.example added healthcheck to database connection 2025-03-30 16:30:27 -05:00
.gitignore initial commit 2025-03-30 00:57:14 -05:00
docker-compose.yml added healthcheck to database connection 2025-03-30 16:30:27 -05:00
Dockerfile initial commit 2025-03-30 00:57:14 -05:00
firstRun.sh Updated script to restart docker containers 2025-03-30 18:10:07 -05:00
manage.py initial commit 2025-03-30 00:57:14 -05:00
README.md removed static files 2025-03-30 17:53:32 -05:00
requirements.txt initial commit 2025-03-30 00:57:14 -05:00

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

How to use

  1. Clone the project and enter the project directory
    1. git clone https://edbuildsthings.com/tiradoe/django-docker-template.git
    2. cd django-docker-template
  2. Run the setup script
    1. ./firstRun.sh and enter information when prompted
    2. 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

Note: This uses common Linux utis so it should work on just about any Linux distro (including Windows WSL) and probably MacOS too. However, this has only been tested on Fedora Linux. Please submit an issue if you run into any problems and I'll see what I can do.