Describe Docker usage

[ci skip]
This commit is contained in:
Emil Miler 2024-06-01 11:52:42 +02:00
parent 5938e9a346
commit 26ada96c25

View File

@ -4,6 +4,14 @@
- `ghostscript` - `ghostscript`
- `zola` (optional) - `zola` (optional)
The makefile uses Docker with the official iamge `chordpro/chordpro:latest`.
It can be seamlesly integrated with a shell alias in case you want to use
chordpro directly in your shell outside of make:
```
alias chordpro="docker run -ti --rm --env HOME=\$HOME --env USER=\$USER --workdir \$(pwd) --volume \$HOME:\$HOME chordpro/chordpro:latest chordpro"
```
## Building ## Building
`make` defaults to `all` which builds individual PDF and HTML files for `make` defaults to `all` which builds individual PDF and HTML files for