File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,11 @@ Featuring:
88- Python 3.5
99
1010Blog post -> https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
11+
12+ ### OS X Instructions
13+
14+ 1 . Start new machine - ` docker-machine create -d virtualbox dev; `
15+ 1 . Build images - ` docker-compose build `
16+ 1 . Start services - ` docker-compose up -d `
17+ 1 . Create migrations - ` docker-compose run web /usr/local/bin/python manage.py migrate `
18+ 1 . Grab IP - ` docker-machine ip dev ` - and view in your browser
Original file line number Diff line number Diff line change 77 - postgres:postgres
88 - redis:redis
99 volumes :
10- - .web: /usr/src/app
10+ - /usr/src/app/static
1111 env_file : .env
1212 command : /usr/local/bin/gunicorn docker_django.wsgi:application -w 2 -b :8000 --reload
1313
You can’t perform that action at this time.
0 commit comments