Skip to content

A simple boilerplate with django/docker-compose/postgres. Allows versatile development via agile deployment structure built on docker compose and make file.

Notifications You must be signed in to change notification settings

greedWizard/django-docker-compose-postgres-boilerplate

Repository files navigation

Django Boilerplate with Docker Compose, Makefile, and PostgreSQL

This is a basic template for Django projects configured to use Docker Compose, Makefile, and PostgreSQL.

Requirements

How to Use

  1. Clone the repository:

    git clone https://github.com/your_username/your_repository.git
    cd your_repository
    
  2. Install all required packages in Requirements section.

Implemented Commands

  • make app - up application and database/infrastructure
  • make app-logs - follow the logs in app container
  • make app-down - down application and all infrastructure
  • make storages - up only storages. you should run your application locally for debugging/developing purposes
  • make storages-logs - foolow the logs in storages containers
  • make storages-down - down all infrastructure

Most Used Django Specific Commands

  • make migrations - make migrations to models
  • make migrate - apply all made migrations
  • make collectstatic - collect static
  • make superuser - create admin user

About

A simple boilerplate with django/docker-compose/postgres. Allows versatile development via agile deployment structure built on docker compose and make file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published