Skip to content

gpr/cookiecutter-templates

Repository files navigation

Cookiecutter Templates

A collection of Cookiecutter templates.

Pre-requisites

You MUST set your personal Github access token in order to create the repo.

export GITHUB_ACCESS_TOKEN=your-token

See the file .envrc.template for a direnv template.

Then install all the pre-requisites:

pip install -r requirements.txt

or directly with pipenv:

pipenv install

Quick Start

Example of usage (prefix the command with pipenv run if you use pipenv):

cookiecutter https://github.com/gpr/cookiecutter-templates.git --directory helm

Common options can bet set in $HOME/.cookiecutterrc config file:

$ cat $HOME/.cookiecutterrc
default_context:
    author_name: "Gregory ROMÉ"
    author_email: "[email protected]"
    github_namespace: gpr