cookiecutter-django/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/templates
Bruno Alla b91c70d755
Add a node image to run Gulp when selecting it with Docker (#1687)
## Description

Following up on @webyneter attempt in #1205, which is now getting outdated, I've tried to make Gulp task runner work with Docker. There is no documentation yet, but this seems to work locally with the custom bootstrap compilation...

- [x] Add a node image for local developement
- [x] Proxy the django image rather than localhost in Browser sync, pass header to keep hostname
- [x] Don't call the runserver command from Gulp, let docker-compose handle
- [x] Update package.json & gulpfile.js templates to reduce the number of unwanted empty lines
- [x] Use [multi-stage build](https://docs.docker.com/develop/develop-images/multistage-build/) in production to make sure the static assets are produced
- [x] Update documentation
- [x] Verify that the previous issue with static assets missing from production isn't there 

## Rationale

Currently, the static build isn't working nicely with Docker, extra manual setup is required.

Fixes #1762
2019-03-25 12:10:55 +00:00
..
account added btn class to forget password (#1102) 2017-04-01 08:30:24 -07:00
pages Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00
users Convey button role to screen readers 2016-09-13 13:14:45 -07:00
403_csrf.html Create 403_csrf.html (#803) 2016-10-05 16:01:30 +02:00
404.html Inconsistent title case in 404 (#974) 2017-02-13 10:44:02 -08:00
500.html Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00
base.html Add a node image to run Gulp when selecting it with Docker (#1687) 2019-03-25 12:10:55 +00:00