Skip to content

tuandp/dockerizing-django

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Development With Docker Compose and Machine

Featuring:

  • Docker v1.10.3
  • Docker Compose v1.6.2
  • Docker Machine v0.6.0
  • Python 3.5

Blog post -> https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/

OS X Instructions

  1. Start new machine - docker-machine create -d virtualbox dev;
  2. Build images - docker-compose build
  3. Start services - docker-compose up -d
  4. Create migrations - docker-compose run web /usr/local/bin/python manage.py migrate
  5. Grab IP - docker-machine ip dev - and view in your browser

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.0%
  • HTML 18.3%
  • CSS 0.7%