Skip to content

jkingz/Dockerize-django-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

docker django python postgres redis celery

🎯 A Dockerize Python Django App 🎯

  1. πŸš€ Introduction
  2. πŸš€ Tech Stack
  3. πŸ”‹ Features
  4. 🀸 Quick Start

https://app.eraser.io/workspace/CFRU4D7w5QLjrbt6WUym

Dockerize Django project template

  • Docker

  • Python

  • Django

  • Postgres

  • Redis

  • Celery

  • Celery-beat

  • Flower

  • check requirements.txt for python packages

πŸ‘‰ Docker-Django: Docker Django docker compose with multiple serices

πŸ‘‰ Celery: Trigger tasks

πŸ‘‰ Celery-beat: Periodic tasks scheduler

πŸ‘‰ Flower: GUI for celery tasks

Follow these steps to set up the project locally on your machine.

Prerequisites

Make sure you have the following installed on your machine:

Cloning the Repository

git clone [email protected]:jkingz/Dockerize-django-app.git new_proj_name
cd new_proj_name

Installation

Install the project dependencies using pip:

pip install -r requirements.txt --no-cache-dir

Set Up Environment Variables

  • DJANGO_SUPERUSER_USERNAME=admin
  • DJANGO_SUPERUSER_EMAIL=[email protected]
  • DJANGO_SUPERUSER_PASSWORD=adminpassword

Running the Project

docker compose build
docker compose up -d

# down the container
docker compose down

Open http://localhost:8000 in your browser to view the project.

About

πŸš€ Starter kit Django-Project | Dockerize | Postrgesql | Celery | Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published