This repository is a cookiecutter template to quickly get started in authoring a new mafiasi projcet.
-
Install cookiecutter via your systems package manager
See the official cookiecutter installation instructions for more details.
-
Install
pre-commit
e.g. via:pip install pre-commit
-
Create a new project based on this template by running and responding to all the questions.
cookiecutter https://github.com/fsinfuhh/template
Cookiecutter will ask you some questions and insert your responses all over the project. See the cookiecutter variable reference below for more information about what what each question means.
-
project_slug
A (preferably short) machine-readable name of the project.This will be used for example for the python package name and dev database credentials.
-
project_name
An equivalent to theproject_slug
but intended for humans. This is inserted into documentation e.g. the generatedREADME.md
. -
author
The name of the entity that is the author of the project. This is inserted into the generated license (which is MIT). -
openid_scope
A space separated list of scopes that are requested from the Mafiasi OpenID provider during login. This influences which information about a user is available to the application.