Skip to content

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

License

Notifications You must be signed in to change notification settings

rbturnbull/dcodex-cookiecutter

 
 

Repository files navigation

D-Codex Cookiecutter

This project can setup a D-Codex site using Cookiecutter Django

Usage

First, get Cookiecutter.

$ pip install cookiecutter

Now run it against this repo:

$ cookiecutter https://github.com/rbturnbull/dcodex-cookiecutter

You'll be prompted for some values. Provide them, then a Django project using dcodex will be created for you.

Warning: After this point, change 'Robert Turnbull', 'dcodex_family_13', etc to your own information.

Answer the prompts with your own desired options. For example:

project_name [My DCodex Project]: DCodex Family 13
project_slug [dcodex_family_13]: dcodex_f13
description [A brief description my DCodex project.]: A D-Codex project to display the manuscripts of family 13
author_name [Robert Turnbull]: Robert Turnbull
domain_name [example.com]: f13.d-codex.net
email [robert.turnbull@dcodex.net]: rob@robturnbull.com
version [0.1.0]:
Select open_source_license:
1 - Apache Software License 2.0
2 - MIT
3 - BSD
4 - GPLv3
5 - Not open source
Choose from 1, 2, 3, 4, 5 [1]:
timezone [Australia/Melbourne]:
windows [n]:
use_pycharm [n]:
use_docker [y]:
Select postgresql_version:
1 - 12.3
2 - 11.8
3 - 10.8
4 - 9.6
5 - 9.5
Choose from 1, 2, 3, 4, 5 [1]:
Select js_task_runner:
1 - None
2 - Gulp
Choose from 1, 2 [1]:
Select cloud_provider:
1 - AWS
2 - GCP
3 - None
Choose from 1, 2, 3 [1]:
Select mail_service:
1 - Other SMTP
2 - Mailgun
3 - Amazon SES
4 - Mailjet
5 - Mandrill
6 - Postmark
7 - Sendgrid
8 - SendinBlue
9 - SparkPost
Choose from 1, 2, 3, 4, 5, 6, 7, 8, 9 [1]:
use_async [n]:
use_drf [y]:
custom_bootstrap_compilation [n]:
use_compressor [y]:
use_celery [y]:
use_mailhog [n]:
use_sentry [n]:
use_whitenoise [y]:
use_heroku [n]:
Select ci_tool:
1 - None
2 - Travis
3 - Gitlab
4 - Github
Choose from 1, 2, 3, 4 [1]:
keep_local_envs_in_vcs [y]:
debug [n]:
dcodex_url_prefix [dcodex]:
use_dcodex_bible [n]: y
use_dcodex_lectionary [n]:
use_dcodex_collation [n]:
use_dcodex_variants [n]:
[SUCCESS]: Project initialized, keep up the good work!

Enter the project and take a look around:

$ cd dcodex_f13/
$ ls

Create a git repo and push it there:

$ git init
$ git add .
$ git commit -m "Initial commit for dcodex_f13"
$ git remote add origin git@github.com:rbturnbull/dcodex_f13.git
$ git push -u origin master

Look at the documentation for the dcodex packages you installed to find out more.

For local development, see the following:

Find out more

For more information on the Django setup, see the Cookiecutter Django documentation and also Daniel Feldroy and Audrey Feldroy's book Two Scoops of Django.

Here are some other articles which discuss using Cookiecutter Django

Code of Conduct

Everyone interacting in the Cookiecutter project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

About

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 67.4%
  • HTML 13.6%
  • Shell 9.7%
  • Dockerfile 3.5%
  • JavaScript 3.5%
  • Makefile 0.8%
  • Other 1.5%