Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/renanstn/django-template

Just a template to a dockerized django app, to use as base in my future projects.
https://github.com/renanstn/django-template

django docker docker-compose dockerfile github-actions gunicorn poetry postgresql python python-decouple script

Last synced: 13 days ago
JSON representation

Just a template to a dockerized django app, to use as base in my future projects.

Awesome Lists containing this project

README

        

# django-template

[![Python](https://img.shields.io/badge/python-%2314354C.svg?style=flat&logo=python&logoColor=white)](https://www.python.org/)
[![Django](https://img.shields.io/badge/django-%23092E20.svg?style=flat&logo=django&logoColor=white)](https://www.djangoproject.com/)
[![DjangoREST](https://img.shields.io/badge/DJANGO-REST-ff1709?style=flat&logo=django&logoColor=white&color=ff1709&labelColor=gray)](https://www.django-rest-framework.org/)
[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=flat&logo=docker&logoColor=white)](https://www.docker.com/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Django CI](https://github.com/renanstn/django-template/actions/workflows/django.yml/badge.svg)](https://github.com/renanstn/django-template/actions/workflows/django.yml)
![Dockerfile lint](https://github.com/renanstn/django-template/actions/workflows/dockerfile_lint.yml/badge.svg)

Just a good template to a dockerized django-rest app.

## Features

- Use [Poetry](https://python-poetry.org/) as dependency manager
- Use [Black](https://black.readthedocs.io/en/stable/) as code formatter
- Use [django-extensions](https://django-extensions.readthedocs.io/en/latest/) to provide some nice tools (like `plus_shell`)
- Use `Makefile` as a shortcut for some commands
- Automatically run `collectstatic`, `makemigrations` and `migrate` when the container runs
- Automatically create an `superuser` if not exists
- GitHub actions configured, with Postgres integration for tests