File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1- use nix
1+ use flake
Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : 0.1.0-2-g6148546
2+ _commit : 0.1.0-7-g0aa96f6
33_src_path : https://github.com/fastapi-mvc/copier-generator
44copyright_date : 2022
55generator : generator
Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ Prerequisites:
1313* copier 6.2.0 or later
1414
1515``` shell
16- copier copy " https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/project
16+ copier copy " https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/generator
1717```
1818
1919## Using Nix
2020
21+ Prerequisites:
22+
23+ * Nix 2.8.x or later installed [ How to install Nix] ( https://nixos.org/download.html )
24+
2125``` shell
2226nix develop
23- copier copy " https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/project
27+ copier copy " https://github.com/fastapi-mvc/copier-generator.git" /path/to/your/new/generator
2428```
2529
2630## Updating
@@ -35,9 +39,8 @@ nix run .#update
3539
3640This action will not update/override your template and its configuration, but rather generators common files:
3741
38- * Environment (` pyproject.toml ` and ` poetry.lock ` )
39- * ` README.md `
4042* Nix expression files
43+ * ` README.md `
4144* dotfiles
4245* ` LICENSE `
4346
@@ -51,5 +54,7 @@ List of excluded files/paths:
5154Lastly, you can pass extra copier CLI options should you choose:
5255
5356``` shell
54- ./update.sh -x README.md
57+ ./update.sh -x README.md --vcs-ref=custom_branch
58+ # Or
59+ nix run .# update -- -x README.md --vcs-ref=custom_branch
5560```
Original file line number Diff line number Diff line change 6060 buildInputs = [
6161 pkgs . git
6262 pkgs . coreutils
63+ pkgs . poetry
6364 ] ;
6465 } ) ;
6566 } ;
You can’t perform that action at this time.
0 commit comments