All Projects → eon01 → django-boilerplate

eon01 / django-boilerplate

Licence: other
(An opinionated) Django boilerplate to run your project on Docker Compose (Redis, Rabbitmq, base/dev/prod settings ..etc) 🌟 Give it a star if you like it.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to django-boilerplate

Self Hosted Docker Server Templates
Just some templates to get someone started with hosting various servers in Docker
Stars: ✭ 237 (+577.14%)
Mutual labels:  docker-compose
Restairline
DDD+CQRS+EventSourcing+Hypermedia API+ASP.NET Core 3.1+Masstransit+terraform+docker+k8s
Stars: ✭ 243 (+594.29%)
Mutual labels:  docker-compose
cv4pve-metrics
Metrics for Proxmox VE, Grafana with dasboard, InfluxDb
Stars: ✭ 38 (+8.57%)
Mutual labels:  docker-compose
Mailu
Insular email distribution - mail server as Docker images
Stars: ✭ 3,151 (+8902.86%)
Mutual labels:  docker-compose
Opendevops
CODO是一款为用户提供企业多混合云、一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
Stars: ✭ 2,990 (+8442.86%)
Mutual labels:  docker-compose
Self Hosted Cookbook
A cookbook, for docker-compose based recipes, for self-hosted applications and services.
Stars: ✭ 244 (+597.14%)
Mutual labels:  docker-compose
Docker Mastery For Nodejs
Docker Mastery for Node.js Projects, From a Docker Captain
Stars: ✭ 231 (+560%)
Mutual labels:  docker-compose
docker-parse-mongo
Parse Server with MongoDB ReplicaSet using Docker (for AWS EC2 or GCP GCE)
Stars: ✭ 27 (-22.86%)
Mutual labels:  docker-compose
Devdock
Build php development & production environment based on Docker
Stars: ✭ 242 (+591.43%)
Mutual labels:  docker-compose
docker4ruby
Docker-based Ruby stack (works for Rails)
Stars: ✭ 27 (-22.86%)
Mutual labels:  docker-compose
Docker Compose Usenet
Docker-powered usenet pipeline
Stars: ✭ 240 (+585.71%)
Mutual labels:  docker-compose
Express Typescript
Express + TypeScript + Boilerplate for Web / API App
Stars: ✭ 230 (+557.14%)
Mutual labels:  docker-compose
Infrabox
InfraBox is a cloud native continuous integration system
Stars: ✭ 249 (+611.43%)
Mutual labels:  docker-compose
Dockselpy
Dockerized Selenium and Python with support for Chrome, Firefox and PhantomJS
Stars: ✭ 237 (+577.14%)
Mutual labels:  docker-compose
mongodb-replica-set
Docker setting for mongodb replica set
Stars: ✭ 21 (-40%)
Mutual labels:  docker-compose
Docker Starter
🏗️ A skeleton to start a new web project with PHP, Docker and Invoke
Stars: ✭ 233 (+565.71%)
Mutual labels:  docker-compose
Docker Lnmp
🐋Docker-compose(Linux,Nginx,MySQL,PHP7,Redis)
Stars: ✭ 244 (+597.14%)
Mutual labels:  docker-compose
MMseqs2-App
MMseqs2 app to run on your workstation or servers
Stars: ✭ 16 (-54.29%)
Mutual labels:  docker-compose
docker-compose-v3
No description or website provided.
Stars: ✭ 15 (-57.14%)
Mutual labels:  docker-compose
Fabricio
Docker deploy automation tool
Stars: ✭ 250 (+614.29%)
Mutual labels:  docker-compose

Django Boilerplate

This code is an easy way to start your Django application.

Features

  • Docker compose ready
  • A Dockerfile for each service
  • Ready to run on S3 using Django Storages (for production)
  • A .env file for each service
  • A base settings file with a separation between dev and prod environments
  • Postgres ready
  • Configured to run Redis, Rabbitmq, Celery
  • Cache configured and ready to run on disk and using Redis
  • Integration with a Postgres 4
  • WSGI configured and runs using gunicorn

How to use

1 - Install, Docker and Docker Compose.

2 - Activate your virtual env if you are using one.

3 - Run the init.sh script:

bash init.sh <your_project_name>

4 - Run docker-compose up

This will configure Django to run with the right project name (otherwise, it will run with the default project name "boilerplace").

If you want to do it manually:

The Django project, the database, the S3 bucket name and every resource you use and is called "boilerplate", CTRL+F and change "boilerplate" in code with the name of your project/bucket/etc...

Don't forget to change the module name (folder 'boilerplate') to a folder name of your choice.

Don't forget to create a virtual environment and install all the dependencies in your dev env before proceeding.

e.g: If you want to create a project called "my-project", you should change the folder name "boilerplate" to "my-project" and change every occurence of "boilerplate" within your code to "my-project". Then run docker-compse up.

To Do

  • Kubernetes deployment templates for Django.

Contribution

All contributions are welcome.

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].