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

Latest commit

 

History

History
34 lines (22 loc) · 920 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 920 Bytes

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