You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework README and move dev instructions to contributing (#481)
I've attempted to simplify the user-facing quick-start instructions. Not
a huge fan of enumerated instructions and the optional (but cool)
one-liner it doesn't really fit in 1. 2. 3....
Also it's a bit overkill to have a venv/conda environment just for
cookiecutter itself. The cookiecutter docs recommend `pipx install`. I
claim that we want to encourage `uvx` because it's fast and cool 😎 .
I've spent a bit of effort trying to be clear but comments on clarity
etc are very welcome.
I also moved and merged the dev instructions into CONTRIBUTING so README
is _**just**_ user-facing. And CONTRIBUTING is just dev.
This addresses
- #466
And two comments
-
#464 (comment)
-
#419 (comment)
---------
Co-authored-by: David Stansby <[email protected]>
Co-authored-by: Patrick J. Roddy <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
When [cookiecutter] runs, it will ask you a series of questions to configure your project.
45
+
Type the answer or hit return without typing anything to use the default option (shown in parenthesis).
46
+
At the end, it will print some more follow-up information in the terminal for things like creating a remote repository and making a website for your package.
47
+
48
+
It will have created a directory for your project.
49
+
You can see the structure with the `tree` command.
50
+
In our example we've called our project `example-research-software-project`:
51
+
52
+
```sh
53
+
ls -ltr | tail -n1 # Shows the last directory that was created
54
+
tree example-research-software-project
55
+
```
56
+
57
+
To work on your project, initialise a `git` repository and _install_ your new package editable mode.
58
+
You probably want to do this in a [virtual environment](./docs/pages/virtual.md).
59
+
The comments show how to do this in [uv] with `uv venv`:
0 commit comments