Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/renanstn/django-template
- Owner: renanstn
- Created: 2022-01-17T21:40:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-26T20:52:35.000Z (almost 2 years ago)
- Last Synced: 2024-11-30T12:13:37.625Z (2 months ago)
- Topics: django, docker, docker-compose, dockerfile, github-actions, gunicorn, poetry, postgresql, python, python-decouple, script
- Language: Python
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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