Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cssnr/django3-boiler
- Owner: cssnr
- Created: 2021-12-23T09:21:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T06:10:34.000Z (about 3 years ago)
- Last Synced: 2023-06-28T22:21:21.601Z (over 1 year ago)
- Topics: django, docker, python
- Language: Python
- Homepage: https://django3-boiler.sapps.me
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 BoilerDjango 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
```