@@ -119,13 +119,29 @@ repository with the settings we use, but you can follow them if you want
119119to set up your Python package in a similar way. They are also included
120120in a message after you've copied the template.
121121
122- After copying the template, while in the directory of the new Data
123- Package , run the following:
122+ After copying the template, while in the directory of the new Python
123+ package , run the following:
124124
125125``` bash
126126just install-precommit
127127```
128128
129+ This sets up the pre-commit hooks to run standard checks on your
130+ repository whenever you commit files to the history.
131+
132+ If you are using the template to create a Python package for the Seedcase
133+ Project, run:
134+
135+ ``` bash
136+ just update-quarto-theme
137+ ```
138+
139+ This adds the ` seedcase-theme ` Quarto theme to the website, which
140+ provides a consistent look and feel across all Seedcase Project
141+ websites, including for Python package websites.
142+ It's called ` update-quarto-theme ` here since you can use this
143+ command to keep the theme updated.
144+
129145Next, install [ ` spaid ` ] ( https://github.com/seedcase-project/spaid ) and
130146use the following commands to run the next setup steps:
131147
@@ -136,14 +152,26 @@ spaid_gh_ruleset_basic_protect_main -h
136152```
137153
138154Some configuration is needed after copying this template to a new
139- repository, including configuration external to the repository.
140-
141- - The template file ` .github/workflows/release-package.yml ` requires
142- the [ auto-release-token] ( https://github.com/apps/auto-release-token )
143- GitHub App to be installed.
144- - The GitHub secrets ` UPDATE_VERSION_TOKEN ` , ` ADD_TO_BOARD ` , and
145- ` NETLIFY_AUTH_TOKEN ` and variables ` UPDATE_VERSION_APP_ID ` and
146- ` ADD_TO_BOARD_APP_ID ` have to be set up in the repository (or
147- organization) settings. See this
148- [ guide] ( https://guidebook.seedcase-project.org/operations/security#using-github-apps-to-generate-tokens )
149- for more details on how to configure this.
155+ repository, including configuration external to the repository. Some
156+ GitHub workflows require installing GitHub Apps, for greater security
157+ purposes and easier administration when managing multiple repositories.
158+ The [ security
159+ section] ( https://guidebook.seedcase-project.org/operations/security#using-github-apps-to-generate-tokens )
160+ in our [ Guidebook] ( https://guidebook.seedcase-project.org/ ) provides
161+ instructions on how to set up GitHub Apps, secrets, and variables.
162+ Ideally the secrets and variables should be set up in the organization
163+ settings. The specific workflows in this template that require this
164+ additional setup are:
165+
166+ - The workflow ` .github/workflows/release-package.yml ` requires the
167+ [ auto-release-token] ( https://github.com/apps/auto-release-token )
168+ GitHub App as well as a creating a GitHub secret called
169+ ` UPDATE_VERSION_TOKEN ` and a variable called ` UPDATE_VERSION_APP_ID `
170+ that has the App ID.
171+ - The workflow ` .github/workflows/add-to-project.yml ` requires the
172+ [ add-to-board-token] ( https://github.com/apps/add-to-board-token )
173+ GitHub App, along with the ` ADD_TO_BOARD_TOKEN ` secret and the
174+ ` ADD_TO_BOARD_APP_ID ` variable of the GitHub App's ID.
175+
176+ If you use Netlify, you will also need to add a ` NETLIFY_AUTH_TOKEN ` secret
177+ of your Netlify Token.
0 commit comments