comfy-recipes/README.md
2024-10-12 00:20:05 +02:00

43 lines
862 B
Markdown

# Comfy Recipes
Comfy Recipes is a simple application that renders your recipes into HTML.
Documentation is available at <https://comfy.city/comfy-recipes/docs>
## Running
```sh
docker run -v ./recipes:/recipes git.comfy.city/Emi/comfy-recipes:latest build /recipes
```
## Building
### Building the python package
Make sure you have hatchling and build modules installed.
```sh
python3 -m build
```
The package can now be installed with
```sh
pip install dist/comfy-recipes-*-py3-none-any.whl
```
### Building the docker container
```sh
docker buildx build -t git.comfy.city/Emi/comfy-recipes:local .
```
The container can now be ran
```sh
docker run -v ./recipes:/recipes git.comfy.city/Emi/comfy-recipes:local build /recipes
```
### Building the documentation
```sh
cd docs
mdbook build
```
Documentation can now be served with
```sh
mdbook serve
```