42 lines
809 B
Markdown
42 lines
809 B
Markdown
# Teilchensammler
|
|
|
|
This is a little TUI based on [Textual] for entering new Teilchen and for
|
|
searching for existing Teilchen.
|
|
|
|
Data will eventuall be stored in a SQLite database.
|
|
|
|
## Running tests
|
|
|
|
```sh
|
|
uv run pytest tests.py
|
|
```
|
|
|
|
## Observing the app's console
|
|
|
|
You will need two terminals: one for showing the console, the other to run the app.
|
|
|
|
Since we use uv the incantation is bit different from the official documenation:
|
|
|
|
In one terminal:
|
|
|
|
```shell
|
|
textual console
|
|
```
|
|
|
|
And in the other:
|
|
|
|
```shell
|
|
uv run textual run --dev src/teilchensammler_cli/__init__.py
|
|
```
|
|
|
|
## Creating a new release
|
|
|
|
* make code changes
|
|
* add tests; make them pass
|
|
* commit
|
|
* `git tag vX.Y.Z`
|
|
* push commits and tags
|
|
|
|
`uv build` will now create correctly named tar balls and wheels.
|
|
|
|
[Textual]: https://textual.textualize.io/
|