Cookiecutter for DAL projects
Install Cookiecutter
pip install cookiecutter
Use template Cookiecutter
Go to the directory where you want to create your project and run:
cookiecutter https://lab.frogg.it/dorianturba/cookiecutter_dal_sqlalchemy.git
Use a user configuration file
You can use a user configuration file to avoid to type the same values every time you create a new project.
Create a file named ~/.cookiecutterrc
with your configuration.:
Here is an example:
default_context:
author_fullname: "Your Name"
author_email: "your@email.com"
virtual_env_folder: "venv"
flake8_max_complexity: 10
linter_max_line_length: 100