# dockerizing-django **Repository Path**: sniperyen1/dockerizing-django ## Basic Information - **Project Name**: dockerizing-django - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-10-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 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;` 1. Configure your shell to use the new machine environment - `eval $(docker-machine env dev)` 1. Build images - `docker-compose build` 1. Start services - `docker-compose up -d` 1. Create migrations - `docker-compose run web /usr/local/bin/python manage.py migrate` 1. Grab IP - `docker-machine ip dev` - and view in your browser