@@ -3,17 +3,41 @@ _subdirectory: template
33# Post-copy commands:
44_tasks :
55 # Only run these commands when copying the template
6- - command : " git init -b main"
7- when : " {{ _copier_operation == 'copy' }}"
8- - command : " uv add --dev pre-commit commitizen ruff typos"
9- when : " {{ _copier_operation == 'copy' }}"
10- - command : " uv add polars seedcase-sprout"
11- when : " {{ _copier_operation == 'copy' }}"
12- - command : " git add ."
13- when : " {{ _copier_operation == 'copy' }}"
14- - command : " git commit -m 'chore: :tada: setup a new data package from the template'"
6+ - command : " git init -b main && uv add --dev pre-commit commitizen ruff typos && uv add polars seedcase-sprout"
157 when : " {{ _copier_operation == 'copy' }}"
168
9+ # Message to show after generating or regenerating the project successfully
10+ _message_after_copy : |
11+
12+ Your project "{{ package_abbrev }}" has been created successfully!
13+
14+ Next steps:
15+
16+ 1. Change directory to the project root:
17+
18+ $ cd {{ _copier_conf.dst_path }}
19+
20+ 2. Install the pre-commit hooks:
21+
22+ $ just install-precommit
23+
24+ 3. Install [`spaid`](https://github.com/seedcase-project/spaid) and run these setup steps:
25+
26+ $ spaid_gh_create_repo_from_local -h
27+ $ spaid_gh_set_repo_settings -h
28+ $ spaid_gh_ruleset_basic_protect_main -h
29+
30+ 4. Configure GitHub following this
31+ [guide](https://guidebook.seedcase-project.org/operations/security#using-github-apps-to-generate-tokens):
32+
33+ - Install the [auto-release-token](https://github.com/apps/auto-release-token) GitHub App
34+ - Create an `UPDATE_VERSION_TOKEN` secret
35+ - Create an `UPDATE_VERSION_APP_ID` variable
36+
37+ 5. List and complete all TODO items in the repository:
38+
39+ $ just list-todos
40+
1741# Questions:
1842package_github_repo :
1943 type : str
0 commit comments