* Add webpack as an option
Adds webpack as a js_taskrunner option to cookiecutter-json. Will clone @hzdg/cookiecutter-webpack --pydanny-django branch into the project using cookiecutter's api in post_hooks.
The static webpack project will be placed into the <project_slug>/static/<project_slug>/ directory.
The webpack configs are placed in the ./config/ directory.
The cookiecutter-webpack project includes react / redux / karma configurations that are brought into the project.
* Add webpack documentation
Docker got rid of legacy links so there are no longer env vars pointing
to other containers. Instead, we can reference the containers directly.
This fixes problems with let's encrypt related to missing env vars.
See notice at the top of
https://docs.docker.com/compose/link-env-deprecated/
* change local config to automatically update INTERNAL_IPS when developping with docker
* Update local.py
Move import to top
* Update local.py
Bug fix and remove blank line
* Update local.py
* flake8 compliance
* add env var check before updating INTERNAL_IPS
* flake8 compliance
* flake8 compliance
* #342 Add compressor option to requirements
* #342 Add compressor to production settings
* #342 Add compressor to base template
* #342 Add settings to common.py and add tags to base template
* #342 Flake8 fix for tox tests
* #342 Remove redundant line
* #342 Add required options for S3 to production.py and added Env variable to enable/disable compression
* #342 Add required options for compressor on S3 to production.py
We use the latest Redis image because in Cookiecutter Django, Redis
is only used to store ephemeral data. By ephemeral data I mean
Celery tasks and various caching libraries.
* rename requirements.apt -> requirements-trusty.apt
and requirements.apt.xenial -> requirements-xenial.apt
* improve install_os_dependencies.sh
* remove unused non-python requirements
* rename "install" function to "install_packages" and
"upgrade" function to "upgrade_packages" to solve shellcheck lint errors
* Eliminate django-secure from requirements and settings files
* Include secure defaults for django security middleware
* Add settings required by SecurityMiddleware
also remove django-secure in prod settings
* Eliminate empty spaces generated on Jinja on
config/settings/production.py
* Install python3-dev if use_python2==n
By default, ubuntu-based distros would install python2-dev if you
install python-dev.
python3-dev should be installed explicitly if we're not using python2.
* Add Emanuel Calso to contributors
* Fix python install utility when not using Heroku
Don't try to install `requirements.txt` which doesn't exist unless using Heroku.
* Fix bad absolute paths
* Allow dependency installation from any location