https://github.com/dafyddj/copier-bootstrap
A 'copier' template for bootstrapping other 'copier' templates
https://github.com/dafyddj/copier-bootstrap
copier-template
Last synced: 7 months ago
JSON representation
A 'copier' template for bootstrapping other 'copier' templates
- Host: GitHub
- URL: https://github.com/dafyddj/copier-bootstrap
- Owner: dafyddj
- License: apache-2.0
- Created: 2024-01-08T19:46:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-11T08:43:52.000Z (over 1 year ago)
- Last Synced: 2024-04-12T12:20:17.212Z (over 1 year ago)
- Topics: copier-template
- Language: Shell
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# copier-bootstrap
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.## Quickstart
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/bootstrap
copier copy gh: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
```## Requirements
Install dependencies using `pip`, [pipx](https://pipx.pypa.io/stable/) or [Homebrew/Linuxbrew](https://brew.sh/).
```
pip install --user pipx
pipx ensurepathpipx install copier
pipx install pre-commit
pipx install texttest
```or
```
brew install copier pre-commit texttest
```This is optional but the official **GitHub** [CLI](https://cli.github.com/) tool can ease development at the command line.
## TBC
More on testing and workflow...