neuron-zk-generator/README.md

33 lines
825 B
Markdown
Raw Normal View History

2024-10-19 13:03:04 +01:00
# `neuron-zk-generator`
This is a basic Python application that reads data from [my](https://github.com/thomasabishop/eolas) [zettelkasten](https://en.wikipedia.org/wiki/Zettelkasten) and
formats it so that it can be compiled as a [Neuron](https://neuron.zettel.page/) project and from there published as a static-site on the web.
2024-10-13 19:00:48 +01:00
## Running app in local development
2024-10-19 13:03:04 +01:00
```sh
2024-10-13 19:00:48 +01:00
source venv/bin/activate
2024-10-19 13:03:04 +01:00
pip install -r requirements.txt
2024-10-13 19:00:48 +01:00
neuron-zk-generator
```
2024-10-19 13:03:04 +01:00
## Build standalone executable
Use `pyinstaller` to create single executable file. `pyinstaller` is installed
along with other packages in `requirements.txt`.
From root:
```sh
pyinstaller -F src/app.py
# -F compiles to single file
```
Outputs to `neuron-zk-generator/dist/app`.
Sourcing the executable:
```sh
/home/thomas/repos/neuron-zk-generator/dist/app
```