README.md: update
This commit is contained in:
parent
8a9ae16ad3
commit
ae3ee28ab4
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -4,7 +4,13 @@ Comfy Recipes is a simple application that renders your recipes into HTML.
|
|||
|
||||
Documentation is available at <https://comfy.city/comfy-recipes/docs>
|
||||
|
||||
## Building the python package
|
||||
## 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
|
||||
|
@ -15,17 +21,17 @@ The package can now be installed with
|
|||
pip install dist/comfy-recipes-*-py3-none-any.whl
|
||||
```
|
||||
|
||||
## Building the docker container
|
||||
### 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 --rm git.comfy.city/Emi/comfy-recipes:local
|
||||
docker run -v ./recipes:/recipes git.comfy.city/Emi/comfy-recipes:local build /recipes
|
||||
```
|
||||
|
||||
## Building the documentation
|
||||
### Building the documentation
|
||||
```sh
|
||||
cd docs
|
||||
mdbook build
|
||||
|
|
Loading…
Add table
Reference in a new issue