Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

annaglyph/docker-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Development With Docker Compose and Machine

Featuring:

  • Docker v18.09.2
  • Docker Compose v1.23.2
  • Docker Machine v0.16.1
  • Python 3.7.3

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. Configure your shell to use the new machine environment - eval $(docker-machine env dev)
  3. Build images - docker-compose build
  4. Start services - docker-compose up -d
  5. Create migrations - docker-compose run web /usr/local/bin/python manage.py migrate
  6. Grab IP - docker-machine ip dev - and view in your browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published