Commit Graph

6621 Commits

Author SHA1 Message Date
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
Hana Quadara
015319ca3f add username to contributors 2019-03-23 00:26:13 -04:00
Hana Quadara
85aea55fc6 add plugins to req file; remove pylint-common 2019-03-23 00:01:23 -04:00
Bruno Alla
b9bb5ef43a
Merge pull request #1990 from pydanny/pyup-update-werkzeug-0.15.0-to-0.15.1
Update werkzeug to 0.15.1
2019-03-22 12:12:16 +00:00
browniebroke
7f3aa6cebb Update werkzeug from 0.15.0 to 0.15.1 2019-03-22 11:00:31 +00:00
Bruno Alla
8aacd9f049
Merge pull request #1981 from pydanny/pyup-update-ipdb-0.11-to-0.12
Update ipdb to 0.12
2019-03-21 18:42:07 +00:00
Bruno Alla
9f9e2344b4
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 18:30:13 +00:00
Bruno Alla
cd4d70573b
Merge pull request #1985 from pydanny/pyup-update-black-18.9b0-to-19.3b0
Update black to 19.3b0
2019-03-21 18:29:33 +00:00
Bruno Alla
b9a9726e0f
Merge pull request #1987 from pydanny/pyup-update-pytest-django-3.4.7-to-3.4.8
Update pytest-django to 3.4.8
2019-03-21 17:59:18 +00:00
Bruno Alla
8901e70a2f
Merge pull request #1986 from pydanny/pyup-update-django-extensions-2.1.5-to-2.1.6
Update django-extensions to 2.1.6
2019-03-21 17:58:53 +00:00
Bruno Alla
bd57ab615f
Merge branch 'master' into pyup-update-black-18.9b0-to-19.3b0 2019-03-21 17:38:56 +00:00
Bruno Alla
5e90722341
Merge pull request #1984 from pydanny/pyup-update-coverage-4.5.2-to-4.5.3
Update coverage to 4.5.3
2019-03-21 17:38:13 +00:00
Bruno Alla
0126cebd07
Merge pull request #1983 from pydanny/pyup-update-pytest-4.2.0-to-4.3.1
Update pytest to 4.3.1
2019-03-21 17:37:52 +00:00
Bruno Alla
3afdde4934
Merge pull request #1982 from pydanny/pyup-update-sphinx-1.8.4-to-1.8.5
Update sphinx to 1.8.5
2019-03-21 17:12:52 +00:00
Bruno Alla
78b735bd68
Merge pull request #1979 from pydanny/pyup-update-djangorestframework-3.9.1-to-3.9.2
Update djangorestframework to 3.9.2
2019-03-21 17:12:29 +00:00
Bruno Alla
31d53c75f2
Merge branch 'master' into pyup-update-ipdb-0.11-to-0.12 2019-03-21 17:04:48 +00:00
Bruno Alla
6c6aa7c215
Merge pull request #1980 from pydanny/pyup-update-werkzeug-0.14.1-to-0.15.0
Update werkzeug to 0.15.0
2019-03-21 17:03:53 +00:00
Bruno Alla
85dea50436
Merge pull request #1978 from pydanny/pyup-update-django-allauth-0.38.0-to-0.39.1
Update django-allauth to 0.39.1
2019-03-21 16:45:47 +00:00
Bruno Alla
cfc82a668f
Merge pull request #1976 from pydanny/pyup-update-python-slugify-2.0.1-to-3.0.0
Update python-slugify to 3.0.0
2019-03-21 16:39:37 +00:00
Bruno Alla
6e53dcaa30
Merge pull request #1975 from pydanny/pyup-update-django-anymail-5.0-to-6.0
Update django-anymail to 6.0
2019-03-21 16:26:40 +00:00
Bruno Alla
bfeb7efafb
Merge pull request #1974 from pydanny/pyup-update-sentry-sdk-0.7.6-to-0.7.7
Update sentry-sdk to 0.7.7
2019-03-21 16:15:31 +00:00
browniebroke
65d315ed29 Update pytest-django from 3.4.7 to 3.4.8 2019-03-21 16:01:31 +00:00
browniebroke
a8c52e2d45 Update django-extensions from 2.1.5 to 2.1.6 2019-03-21 16:01:28 +00:00
browniebroke
d92754684f Update black from 18.9b0 to 19.3b0 2019-03-21 16:01:24 +00:00
browniebroke
3995e9e807 Update coverage from 4.5.2 to 4.5.3 2019-03-21 16:01:21 +00:00
browniebroke
a7163b9409 Update pytest from 4.2.0 to 4.3.1 2019-03-21 16:01:18 +00:00
browniebroke
b5ab945ca2 Update sphinx from 1.8.4 to 1.8.5 2019-03-21 16:01:14 +00:00
browniebroke
f67a78903e Update ipdb from 0.11 to 0.12 2019-03-21 16:01:08 +00:00
browniebroke
7b83d47e2b Update werkzeug from 0.14.1 to 0.15.0 2019-03-21 16:01:05 +00:00
browniebroke
f04e96e30f Update djangorestframework from 3.9.1 to 3.9.2 2019-03-21 16:01:00 +00:00
browniebroke
dd85d6df39 Update django-allauth from 0.38.0 to 0.39.1 2019-03-21 16:00:57 +00:00
browniebroke
bb26ed565b Update python-slugify from 2.0.1 to 3.0.0 2019-03-21 16:00:50 +00:00
browniebroke
4cd30e4657 Update django-anymail from 5.0 to 6.0 2019-03-21 16:00:47 +00:00
browniebroke
1ed1e6ac47 Update sentry-sdk from 0.7.6 to 0.7.7 2019-03-21 16:00:43 +00:00
Bruno Alla
91585a0eb2 Add OS requirements for Ubuntu Bionic 18.04
Fixes #1973
2019-03-20 12:54:58 +00:00
Bruno Alla
823ee637d1 Remove dead link in .gitignore
Fixes #1972
2019-03-20 12:16:43 +00:00
Bruno Alla
f1def67b6d Fix broken links in list of contributors 2019-03-20 12:12:32 +00:00
Bruno Alla
5bf0a397ac Pin redis version 2019-03-20 12:09:43 +00:00
Bruno Alla
b0cb86f282
Merge pull request #1958 from rolep/kombu-update
Redis and Kombu update
2019-03-20 12:08:41 +00:00
Guilherme Fabrizio
7d1e90bdf5 Migrate to unified Sentry SDK (#1820)
The raven library is deprecated. Replace it by the new sentry-sdk library:

https://docs.sentry.io/error-reporting/quickstart/?platform=python

fixes #1818
2019-03-20 10:04:44 +00:00
Bruno Alla
997b22e4ce Merge branch 'fix/default-acl' 2019-03-19 20:02:41 +00:00
Bruno Alla
b594a15847 Add code style black to the generated README 2019-03-19 20:02:26 +00:00
Bruno Alla
6e9f87fced Set AWS_DEFAULT_ACL to None as per django-storages documentation
fixes #1885
2019-03-19 19:57:31 +00:00
Bruno Alla
8925ec9d02
Merge pull request #1971 from pydanny/update/flower
Update Flower version
2019-03-19 13:11:25 +00:00
Bruno Alla
e740a54da6
Update Flower version 2019-03-19 12:30:19 +00:00
Demetris
b312d516a4 Replace Caddy with Traefik (#1714)
## Description

Replace Caddy with Traefik

## Rationale

There is some trouble with the Caddy license (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-329617536) 

@drdaeman suggested using Traefik (https://github.com/pydanny/cookiecutter-django/pull/1282#issuecomment-353655273) which supports ACME and also plays very nice with Docker.

## Comments

I am currently using the proposed setup on a live site and it working great so far. If this PR is of interest to the maintainers, then I could commit more changes and take care of the documentation. Of course, any suggestions by the more experienced people around here, are welcome!
2019-03-19 09:32:45 +00:00
Bruno Alla
0ab499c2fe
Merge pull request #1967 from pydanny/bugfix/windows-docker
Fix build error with windows=y and docker=y combination
2019-03-18 21:08:09 +00:00
Bruno Alla
3bd7aa4e1a Fix build error with windows=y and docker=y combination
Fixes #1917
2019-03-18 20:55:47 +00:00
Bruno Alla
68f7268770
Run Black on Travis (#1957)
* Create a test matrix on Travis CI to help testing multiple options

* Change test_docker.sh to fail if any command in it fails

* Run black on the CI with --check option

* Fix formatting of project files using black

* Install black in the docker container

* Exclude migrations in black checks

* Fix Black formatting violations

* Run black on the whole generated project & fix issues
2019-03-18 17:49:43 +00:00
Bruno Alla
43a6f5d854
Update .pyup.yml 2019-03-18 10:03:32 +00:00