Commit Graph

85 Commits

Author SHA1 Message Date
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
Audrey Roy Greenfeld
4eb769f5af Merge cookiecutter.json 2016-06-03 18:07:32 -07:00
Vivian Guillen
cda3cfc641 merge in @@viviangb #585 2016-06-03 17:35:46 -07:00
mjsisley
fd9795992a sync with master 2016-06-03 17:21:24 -07:00
Vivian Guillen
8a925db024 Add gulp alternative as a js task runner 2016-06-03 17:05:57 -07:00
Sulé
fa89445f66 Removing unnecessary version check #534 (#584)
* Address issue #534

* missing comma added

* remove unecesssary version check #534
2016-06-03 16:35:10 -07:00
Daniel Roy Greenfeld
36ac82b1cf Removed angular2 2016-06-03 14:07:25 -07:00
Meghan Heintz
daf98aea42 Adding Apache 2 License option (#578)
* Adding Apache 2 License option

* changed order of liences availble
2016-06-03 14:02:51 -07:00
mjsisley
b8e02d2189 Add certbot(letsencrypt) support for docker 2016-06-03 08:07:39 -07:00
Audrey Roy Greenfeld
7a6e9238fd Default to today's date in cookiecutter.json. 2016-04-20 11:18:35 -07:00
Audrey Roy Greenfeld
817abc3652 Transform project name to lowercase for slug. 2016-04-20 10:46:07 -07:00
Audrey Roy Greenfeld
15f350f05e Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00
Jannis Gebauer
327d0c2038 major project cleanup 2016-04-08 09:45:09 +02:00
Krzysztof Szumny
da6ba57f05 use_pycharm variable, post_gen_project hook, {{ cookiecutter.repo_name }}/static marked as webResources 2016-03-23 19:05:24 +01:00