Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cssnr/django3-boiler

Django 3.2 Boiler Plate Template. Designed for Docker Swarm. Includes configuration for Traefik. App uses Bootstrap 5, Celery, Redis, and has a custom Discord OAuth flow.
https://github.com/cssnr/django3-boiler

django docker python

Last synced: 3 months ago
JSON representation

Django 3.2 Boiler Plate Template. Designed for Docker Swarm. Includes configuration for Traefik. App uses Bootstrap 5, Celery, Redis, and has a custom Discord OAuth flow.

Awesome Lists containing this project

README

        

[![Discord](https://img.shields.io/discord/899171661457293343?color=7289da&label=discord&logo=discord&logoColor=white&style=flat)](https://discord.gg/wXy6m2X8wY)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/dbceb84a912b4722a55d9cb0f2fcdc54)](https://www.codacy.com/gh/cssnr/django3-boiler/dashboard?utm_source=github.com&utm_medium=referral&utm_content=cssnr/django3-boiler&utm_campaign=Badge_Grade)
[![](https://repository-images.githubusercontent.com/441127011/501ead8a-f34b-4fe1-9826-d98936e39c70)](https://github.com/cssnr/django3-boiler)
# Django Boiler

Django 3.2 Boiler Plate using Bootstrap 5, Celery 5 and much more...

[https://sapps.me/](https://sapps.me/)

## Development

### manage.py

Using manage.py for web development

```text
git clone https://github.com/cssnr/django3-boiler.git
cd django3-boiler
cp settings.env.example settings.env
vim settings.env
IFS=$'\n';export env $(cat settings.env);IFS=' '
cd app
python -m venv venv
source venv/bin/activate
pip install -U pip
pip install -Ur requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver_plus 0.0.0.0:8000
```

### docker-compose

Using docker-compose up for stack development

```text
git clone https://github.com/cssnr/django3-boiler.git
cd django3-boiler
cp settings.env.example settings.env
vim settings.env
docker-compose up --remove-orphans --build -d
docker exec -it django3-boiler_app_1 sh
python manage.py makemigrations
python manage.py migrate
```