A collection of cookiecutter templates for use in MobileCoinFoundation repositories.
Each subdirectory contains a cookiecutter template. See individual README
files for more details on what each one does.
Invoking cookiecutter with this repository requires the use of the
--directory
option.
For example to use the rust-workspace template.
cookiecutter gh:mobilecoinfoundation/cookiecutters --directory rust-workspaceTo install cookiecutter consider using something like pipx.
The advantage to using pipx is that cookiecutter will be installed in an
isolated python environment.
Note: The following suggested install is isolated to the current user. This means the use
sudois not needed, or recommended. Usingsudowith these specific commands will almost certainly cause issues.
Install pipx:
python3 -m pip install --user pipx
python3 -m pipx ensurepathRestart your terminal
Install cookiecutter:
pipx install cookiecutterThere is alternate installation instructions provided by the cookiecutter
docs, https://cookiecutter.readthedocs.io/en/stable/installation.html, however
this results in pulling cookiecutter dependencies into the system or user python
environment.