Modified gruntfile.js and dev.yml to use grunt when using docker in development

This commit is contained in:
mjsisley 2016-01-15 12:06:47 -08:00
parent 39dffcbf9f
commit 42fea22f29
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ module.exports = function (grunt) {
bg: true
},
runDjango: {
cmd: 'python <%= paths.manageScript %> runserver'
cmd: 'python <%= paths.manageScript %> runserver_plus 0.0.0.0:8000'
},
{% if cookiecutter.use_mailhog == "y" -%}runMailHog: {
cmd: './mailhog'

View File

@ -8,7 +8,7 @@ postgres:
django:
dockerfile: Dockerfile-dev
build: .
command: python /app/manage.py runserver_plus 0.0.0.0:8000
command: grunt serve
volumes:
- .:/app
ports: