Skip to content
/ django-template Public template

An opinionated template for quickly getting started with Django

Notifications You must be signed in to change notification settings

GDGVIT/django-template

Repository files navigation

DSC VIT

django-template

An opinionated template for quickly getting started with Django


Join Us Discord Chat

Features

  • Everything Django offers OOTB
  • CORS support
  • Autogenerated OpenAPI and ReDoc API documentation
  • Production deployment using docker-compose
  • SSL using Nginx and LetsEncrypt

Instructions to run

Pre-requisites:

Installing dependencies

poetry shell # sets up and activates a venv
poetry install # installs missing dependencies from the lockfile

Run migrations

python manage.py makemigrations
python manage.py migrate

Start the server

In debug

python manage.py runserver

In production

docker-compose up -d --build

More info

This template comes with an already existing model. Feel free to modify or remove it.

API docs can be found at:

Contributors

Amogh Lele

Amogh Lele

GitHub LinkedIn

Made with ❤️ by DSC VIT