mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-23 06:19:55 +03:00
Modified gruntfile.js and dev.yml to use grunt when using docker in development
This commit is contained in:
parent
39dffcbf9f
commit
42fea22f29
|
@ -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'
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user