Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.
/ docker-django Public archive

Docker compose boilerplate for Django 2 application

License

Notifications You must be signed in to change notification settings

emukans/docker-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django 2 docker-compose boilerplate

The goal of this repository is to simplify the project creation process and make a common boilerplate for all new projects using Django.

Getting started

Please follow the instructions to set up the Django project.

Prerequisites

  • Docker version 18 or higher
  • Docker compose 1.20 or higher

Installing

  1. Create a .env file from the .env.example file. And adapt it according to your Django project needs.

    cp .env.example .env
  2. Start docker-compose by running docker-compose up -d

  3. (Optional) Dump static files.

    docker-compose exec app python manage.py collectstatic --no-input
  4. Visit http://localhost:8080/

Authors

  • Eduards Mukans - Initial work - emukans

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Docker compose boilerplate for Django 2 application

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published