Skip to content

Commit 542b5a4

Browse files
docs (README.md): add asdf, cookiecutter
1 parent 0a7a15a commit 542b5a4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Sets up a new development environment for a Mac or Linux (i.e., UNIX) box.
1616
* [Minimum requirements](#minimum-requirements)
1717
* [Recommended requirements](#recommended-requirements)
1818
* [Development](#development)
19+
* [Cookiecutter](#cookiecutter)
1920
* [Devbox](#devbox)
2021
* [Taskfile](#taskfile)
2122
* [Tilt](#tilt)
@@ -30,11 +31,43 @@ Sets up a new development environment for a Mac or Linux (i.e., UNIX) box.
3031

3132
### Recommended requirements
3233

34+
* [asdf](https://asdf-vm.com/guide/getting-started.html)
3335
* [devbox](https://www.jetpack.io/devbox/docs/quickstart/)
3436
* [task](https://taskfile.dev/#/installation)
3537

3638
## Development
3739

40+
### Cookiecutter
41+
42+
* [Install cookiecutter](https://cookiecutter.readthedocs.io/en/stable/README.html#installation)
43+
44+
```bash
45+
# asdf (my vote)
46+
asdf plugin add cookiecutter
47+
asdf install cookiecutter latest
48+
asdf set -u cookiecutter latest
49+
50+
# pipx
51+
pipx install cookiecutter
52+
53+
# python user directory
54+
python -m pip install --user cookiecutter
55+
```
56+
57+
* Use cookiecutter to create a new project
58+
59+
```bash
60+
# interactive
61+
cookiecutter gh:pythoninthegrass/mvp
62+
63+
# non-interactive
64+
cookiecutter gh:pythoninthegrass/mvp
65+
66+
# local debugging
67+
cd /tmp
68+
cookiecutter ~/git/mvp --no-input -f
69+
```
70+
3871
### Devbox
3972

4073
Devbox takes care of setting up a dev environment automatically.

0 commit comments

Comments
 (0)