mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-23 22:39:45 +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
|
bg: true
|
||||||
},
|
},
|
||||||
runDjango: {
|
runDjango: {
|
||||||
cmd: 'python <%= paths.manageScript %> runserver'
|
cmd: 'python <%= paths.manageScript %> runserver_plus 0.0.0.0:8000'
|
||||||
},
|
},
|
||||||
{% if cookiecutter.use_mailhog == "y" -%}runMailHog: {
|
{% if cookiecutter.use_mailhog == "y" -%}runMailHog: {
|
||||||
cmd: './mailhog'
|
cmd: './mailhog'
|
||||||
|
|
|
@ -8,7 +8,7 @@ postgres:
|
||||||
django:
|
django:
|
||||||
dockerfile: Dockerfile-dev
|
dockerfile: Dockerfile-dev
|
||||||
build: .
|
build: .
|
||||||
command: python /app/manage.py runserver_plus 0.0.0.0:8000
|
command: grunt serve
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user