This is a copier template for generating other copier templates, with the aim
of setting up testing and a deployment pipeline for the resulting template.
Assuming the requirements are installed here is a quick example of how this template could be used.
gh repo create copier-my-template --public --license apache-2.0 --clone
cd copier-my-template
git switch -c chore/copier
copier copy https://github.com/dafyddj/copier-bootstrap .
pre-commit install
texttest -b
git add .
git commit -m "chore: initial bootstrapped template"
gh pr create # Accept all defaults
gh pr checks --watch # Observe tests passing
gh pr --merge -dm
Install dependencies using pip, pipx or Homebrew/Linuxbrew.
For example:
pip install --user pipx
pipx ensurepath
pipx install copier pre-commit texttest
or
brew install copier pre-commit texttest
This is optional but the official GitHub CLI tool (gh) can ease working with GitHub using the command line.
More on testing and workflow...