All Projects → adriancast → django-template

adriancast / django-template

Licence: other
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to django-template

docker-letsencrypt-django-nginx-proxy-uwsgi-postgres
Docker + Letsencrypt + Django + Nginx-Proxy + uWSGI 教學
Stars: ✭ 26 (+30%)
Mutual labels:  letsencrypt, https, nginx-proxy
Dockerize Your Dev
Docker compose a VM to get LetsEncrypt / NGINX proxy auto provisioning, ELK logging, Prometheus / Grafana monitoring, Portainer GUI, and more...
Stars: ✭ 61 (+205%)
Mutual labels:  letsencrypt, grafana, nginx-proxy
Full Stack Fastapi Couchbase
Full stack, modern web application generator. Using FastAPI, Couchbase as database, Docker, automatic HTTPS and more.
Stars: ✭ 243 (+1115%)
Mutual labels:  letsencrypt, cookiecutter
docker-ssl-reverse-proxy
Easy-to-use auto-SSL reverse proxy as a Docker container based on Caddy and Let’s Encrypt
Stars: ✭ 22 (+10%)
Mutual labels:  letsencrypt, https
docker-iot-dashboard
A complete IoT server for LoRaWAN IoT projects: node-red + influxdb + grafana + ssl + let's encrypt using docker-compose.
Stars: ✭ 79 (+295%)
Mutual labels:  letsencrypt, grafana
Htpc Docker Standup
A simple docker-compose based configuration to stand up a new HTPC w/ Plex, Deluge, Sonarr, Radarr and more!
Stars: ✭ 160 (+700%)
Mutual labels:  letsencrypt, nginx-proxy
Guacamole Install Rhel 7
Apache Guacamole installation bash script for RHEL 7 and CentOS 7 including options for Nginx, HTTPS, SSL, LDAP, Let's Encrypt certificates and more
Stars: ✭ 174 (+770%)
Mutual labels:  letsencrypt, https
actions
Our Library of GitHub Actions
Stars: ✭ 49 (+145%)
Mutual labels:  cicd, github-actions
Serverpilot Letsencrypt
Automate the installation of Let's Encrypt SSL on the free plan of ServerPilot
Stars: ✭ 129 (+545%)
Mutual labels:  letsencrypt, https
django-step-by-step
A Django + Vue reference project that focuses on developer tooling and CI/CD + IaC
Stars: ✭ 86 (+330%)
Mutual labels:  cicd, github-actions
httpsbook
《深入浅出HTTPS:从原理到实战》代码示例、勘误、反馈、讨论
Stars: ✭ 77 (+285%)
Mutual labels:  letsencrypt, https
Nginxconfig.io
⚙️ NGINX config generator on steroids 💉
Stars: ✭ 14,983 (+74815%)
Mutual labels:  letsencrypt, https
Letsencrypt Zimbra
Files to automate the deploy of letsencrypt certificates to Zimbra
Stars: ✭ 138 (+590%)
Mutual labels:  letsencrypt, https
Nginx Proxy Automation
Automated docker nginx proxy integrated with letsencrypt.
Stars: ✭ 2,302 (+11410%)
Mutual labels:  letsencrypt, nginx-proxy
Armor
Uncomplicated, modern HTTP server
Stars: ✭ 1,629 (+8045%)
Mutual labels:  letsencrypt, https
FastAPI-template
Feature rich robust FastAPI template.
Stars: ✭ 660 (+3200%)
Mutual labels:  sentry, cookiecutter
changelog-generator
GitHub Action to generate changelogs, release notes, whatever
Stars: ✭ 95 (+375%)
Mutual labels:  cicd, github-actions
Certbot
Dockerized HTTPS with Let's Encrypt
Stars: ✭ 91 (+355%)
Mutual labels:  letsencrypt, https
Docker Nginx Gunicorn Flask Letsencrypt
Boilerplate code for setting up Nginx + Gunicorn + Flask + automated LetsEncrypt certificates (https) using docker-compose.
Stars: ✭ 117 (+485%)
Mutual labels:  letsencrypt, https
multiarch-letsencrypt-nginx-proxy
nginx-proxy, docker-gen and letsencrypt-nginx-proxy-companion on arm archs
Stars: ✭ 23 (+15%)
Mutual labels:  letsencrypt, nginx-proxy

The ultimate Django template to build a startup

Lets be clear. If you can do a task in less than 5 minutes why would you even bother in do all this hard work by yourself? This cookie cutter provides you with:

  1. Django base project: The wizzard will create a default Django project structure
  2. CI/CD integration with Github actions: Github actions will be already configured in your project. It will deploy to your production server everytime a new commit is pushed to the master branch.
  3. Docker: you will get Docker support out of the box. You will get a production ready Docker environment and also a local development environment to add new features to your project.
  4. Docker environment files: The template will automatically the environment files that contains all the sensetive data. This files will not be reposited in your project to prevent password leaks.
  5. HTTPS out of the box: When using the template wizard, you must use the real production domain for your project. This will be used to create the certificates of your production domain. The certificates will be automatically renewed.
  6. Monitoring: If selected in the wizard, Sentry configuration will be added to your project. Remember to edit the Sentry DSN once you created your project in order to connect your project with your Sentry account.
  7. Metrics: If selected in the wizard, Grafana and Prometheus will be added to your project. This template will configure the datasource automatically and will add a dashboard to your Grafana displaying basic metrics of your Django application.

Architecture Diagram

Once all the tools are installed, you architecture would look like the following

Arhitecture Diagram

Things to take in consideration

  • The .envs generated by the template will be in the .gitignore. Those files will be generated but will not be reposited. When you install the app in the server, make sure that you copy the .env files.

  • In order to make Letsencrypt generate the certificates it will use a HTTP-01 challenge. In order to configure the pro environment, make sure that the domain configured in the cookicuter is properly configured in the DNS side. You must add A and AAA records in order to make letsencrypt work. If you want to learn more of the challenges that Letsencrypt does, follow this guide.

Usage of the django-template

To execute the cookiecutter template wizard run:

$ pip install cookiecutter
$ cookiecutter gh:adriancast/django-template

If you need more information about cookiecutter visit this oficial guide.

Screenshot from 2021-07-11 13-09-40

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].