Commit Graph

98 Commits

Author SHA1 Message Date
Bruno Alla
92e4bdf171
Make cloud_provider optional (#2067)
Make cloud_provider optional
2019-05-27 15:50:18 +01:00
Curtis St Pierre
4bf795a908 1989 - reworked postgres version options 2019-05-20 08:53:07 -07:00
Tano Abeleyra
de7be3652a Make cloud_provider optional
Some projects may not need AWS or GCS
2019-05-19 12:45:28 -03:00
Bruno Alla
39df72669e Merge branch 'master' into upgrade/django-2.1
# Conflicts:
#	README.rst
2019-04-17 08:33:54 +01:00
anuj
cad0b77658 Added support for GCE Media storage 2019-04-05 12:42:39 +05:30
Bruno Alla
dd284bc8c9 Remove Postgres 9.3 as it's not supported by Django 2.1 2019-04-02 19:37:59 +01:00
Peter Coles
4e39a9f8f0 strip dots in default project_slug (#1865)
This removes periods from the auto-generated project_slug (and also runs trim for good measure). Otherwise if you have a "." in your project name (e.g., you used a website domain name as your project name), you will encounter an error about it failing for a `project_slug.isidentifier()` check.

Update: changed "." to be replace with "_" instead of "", per request from @webyneter
2018-11-14 19:23:30 +00:00
Jerome Leclanche
9d4566e52c Add Postgres 10.5 version support 2018-10-24 12:39:27 +03:00
Nikita P. Shupeyko
27cf4f01da Upgrade postgres to 10.4
Closes #1669.
2018-06-05 12:23:06 +03:00
Nikita P. Shupeyko
b42b86da20 Opt out of WhiteNoise by default 2018-05-21 21:22:53 +03:00
Nikita P. Shupeyko
b19c5f5d91 Opt out of Sentry by default 2018-05-21 21:22:35 +03:00
Nikita P. Shupeyko
fe110ddd5f Fix inadvertently changed author_name 2018-05-13 15:09:11 +03:00
Nikita P. Shupeyko
be1024cd06 Drop Grunt support
Closes #1636.
2018-05-13 13:51:01 +03:00
Nikita P. Shupeyko
a22390ad4f Introduce debug cookiecutter option 2018-05-05 13:47:25 +03:00
Nikita P. Shupeyko
418b53bf77 Rename use_sentry_for_error_reporting to use_sentry
Rationale: consistency
2018-04-03 12:12:26 +03:00
Wan Liuyang
d1198f63b1
Drop Opbeat (#1578) 2018-03-21 19:54:27 +08:00
Nikita Shupeyko
3f8aa26d0f
Group environment variables by the corresponding directories (#1295)
* Update generated project's .gitignore

* Post-gen gitignore .env/ and .env

* Fix linesep between gitignored entries

* Persist `.env/**/*` files into cookiecutter-django's VCS

* Rename .env/ to .envs/

* Reference the newly created .envs/**/.* files in local.yml

* Reference the newly created .envs/**/.* files in production.yml

* Delete .env.example

* Refactor post-gen-project.py

Closes #1299.

* Implement production-dotenv-files-to-dotenv-file merge script

* Create shared PyCharm Run Configuration for the automation script

* Randomize POSTGRES_PASSWORD in ./envs/(.local|.production)/.postgres

* Default POSTGRES_PASSWORD and POSTGRES_USER to random values

* Fix jinja linebreaks in local.yml

* Spaces in production.yml

* Fix post-merge leftovers & set DJANGO_ADMIN_URL automatically

* Prettify here and there

* Fix FileNotFoundError

* Leave a TODO in post_gen_hook.py

* Introduce keep_local_envs_in_vcs option

* Remove envs when not opted for

* Inline pre_gen_project.py if-condition

* Get rid of PROJECT_DIR_PATH in post_gen_project.py

* Clean up the docs

* Match copyright notices

* Document envs ins and outs
2018-03-08 15:56:15 +03:00
Nikita P. Shupeyko
f582aa1a84 Opt for personal email by default 2018-03-05 13:53:38 +03:00
Nikita P. Shupeyko
d0432316a8 Opt for no js_task_runner by default 2018-03-04 17:32:29 +03:00
Nikita P. Shupeyko
ea54bfe175 Opt PostgreSQL for minor versions as well 2018-03-04 17:28:42 +03:00
Nikita P. Shupeyko
0311732ce3 Temporarily opt for Sentry and WhiteNoise by default 2018-03-04 15:40:47 +03:00
Nikita P. Shupeyko
e3103d5f05 Fix default email 2018-03-04 15:27:12 +03:00
Nikita P. Shupeyko
0a69f19452 Opt for .travis.yml
Closes #1542.
2018-03-04 15:11:54 +03:00
Nikita P. Shupeyko
9f2f3b455f Opt out of WhiteNoise by default 2018-03-04 15:07:05 +03:00
Nikita P. Shupeyko
ccef0aaa89 Opt out of Celery by default 2018-03-04 15:06:50 +03:00
Nikita P. Shupeyko
a40c9a2255 Prettify cookiecutter.json 2018-03-04 15:05:56 +03:00
Nikita P. Shupeyko
4a1cdb5d25 Drop support for PostgreSQL 9.2
Closes #1493.
2018-03-04 12:39:15 +03:00
Daniel Roy Greenfeld
793a46ba45 Removed expiramental elastic beanstalk support and bumped official Django version to 1.11.9 2018-01-15 12:33:51 -08:00
Christian Stade-Schuldt
62e822a8ee add PostgreSQL version 10 (#1394) 2017-12-28 10:26:55 -08:00
Jannis Gebauer
8801c50867 switch to caddy (#1282) 2017-08-11 11:16:15 +02:00
Ben Warren
4aff5971d1 Automatic recompilation of Bootstrap with user-defined variables (#1181)
Allow for dynamic bootstrap compilation

Exclude sublime artifacts

Make custom bootstrap vars file

Add custom bootstrap compilation

Add cookiecutter option

Use the right name for the file

Add explanation to generated README

Add self to contributors

Remove sublime exclusion
2017-06-12 19:38:00 +03:00
Daniel Roy Greenfeld
6aced9ba73 Remove Python 2.7 support per #1129 (#1130)
* Remove Python 2.7 support per

* Remove Python 2.7 references

* Remove Python 2.7 references

* remove python 2 entirely
2017-04-21 12:31:45 -07:00
Daniel Roy Greenfeld
059c4b822e Change Docker to be an option, not the default. 2017-02-13 10:47:15 -08:00
sreyemnayr
75c84b870d Add PostgreSQL 9.6 as an option (#891)
* Added PostgreSQL 9.6 option

* Spacing
2016-11-23 11:36:58 +01:00
Daniel Roy Greenfeld
010a1b0a94 Made Elastic Beanstalk support incompatible with Docker and Heroku 2016-09-26 09:19:15 -07:00
Daniel Roy Greenfeld
52c0e071da Add Experimental AWS Elastic Beanstalk support (#817)
Includes:

* First pass at Elastic Beanstalk integration
* Gets code and elasticache working
* Very rudimentary documentation
* Includes post hook cleanup
2016-09-22 18:21:00 -07:00
Jannis Gebauer
7d7b044432 Remove webpack and merge (#778) (#785)
* Remove webpack and merge

* Put postgresql_version line back in cookiecutter.json

* Put goldhand back in contributors file, added ssteinerX

* Add *.egginfo to .gitignore

* Fix dangling endif in README.rst
2016-09-12 00:22:21 +02:00
Daniel Roy Greenfeld
ea8f6b8326 Use examples instead of HELP text 2016-08-24 14:52:59 -07:00
Daniel Roy Greenfeld
171c2a2a63 Make 'project_name's default more useful 2016-08-24 14:49:44 -07:00
Andreas Meistad
41059ff4df Change use_python2 [N] to use_python3 [Y]
Fixes #747
2016-08-21 22:11:01 +02:00
Daniel Roy Greenfeld
2a5bdbec56 Reverse order of PostgreSQL
This provides a better default
2016-08-17 13:13:10 -07:00
Burhan Khalid
716c179a03 postgresql versions are now selectable 2016-08-10 18:31:48 +03:00
Cédric Gaspoz
730e4fead1
Add GPLv3 licence support 2016-06-24 16:59:55 +02:00
Will Farley
8880e777d2 WIP: Add webpack as an option (#610)
* 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
2016-06-19 12:24:43 -07:00
Andres Gonzalez
3d2385a3b6 Add django-compressor suport (#568)
* #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
2016-06-17 19:07:45 -07:00
Daniel Roy Greenfeld
a65a750464 Switch use_certbot to the MUCH more explicit use_letsencrypt 2016-06-05 13:17:19 -07:00
Daniel Roy Greenfeld
f40f304457 Use sentry for error reporting 2016-06-05 10:47:07 -07:00
Daniel Roy Greenfeld
b2d0a86344 simplify cookiecutter.json 2016-06-04 17:16:48 -07:00
Daniel Roy Greenfeld
94cb04b389 merge @mjsisley #576 2016-06-04 10:21:44 -07:00
Audrey Roy Greenfeld
fc67ecf174 Remove use_angular option again 2016-06-03 18:12:18 -07:00