First, get Cookiecutter.
$ pip install cookiecutter
Alternatively, you can install cookiecutter
with homebrew:
$ brew install cookiecutter
Before even beginning to use the template you must install the following tools:
Install the following to generate swagger.
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest
Finally, to run it based on this template, type:
$ cookiecutter https://github.com/sanservices/microgen --checkout v3.4.0 --directory="microgrpcgen"
or if you cloned the repository
$ cookiecutter microgen --directory="nanogen | microgen"
You will be asked about your basic info (name, project name, app name, etc.). This info will be used to customize your new project.