Copier template for scaffolding new script upon fastapi-mvc project.
Prerequisites:
- fastapi-mvc
- Git 2.27 or newer
git clone "https://github.com/fastapi-mvc/copier-script.git"
FMVC_PATH="$PWD:$FMVC_PATH" fastapi-mvc generate script /path/to/your/new/scriptTo use this template outside fastapi-mvc:
Prerequisites:
- Python 3.8 or later How to install python
- Git 2.27 or newer
- copier 6.2.0 or later
copier copy "https://github.com/fastapi-mvc/copier-script.git" /path/to/your/new/scriptPrerequisites:
- Nix 2.8.x or later installed How to install Nix
nix develop
copier copy "https://github.com/fastapi-mvc/copier-script.git" /path/to/your/new/scriptTo update your generator with the changes from the upstream run:
./update.sh
# Or
nix run .#updateThis action will not update/override your template and its configuration, but rather generators common files:
- Nix expression files
README.md- dotfiles
LICENSE
List of excluded files/paths:
template/**copier.yml*.pyCHANGELOG.md
Lastly, you can pass extra copier CLI options should you choose:
./update.sh -x README.md --vcs-ref=custom_branch
# Or
nix run .#update -- -x README.md --vcs-ref=custom_branch