hledger/docker/README.md
2019-01-31 12:44:12 -08:00

29 lines
535 B
Markdown

## Instructions
Build slim container with binaries only:
```
./build.sh
```
Build container suitable for development:
```
./build-dev.sh
```
Run hledger-web in the container:
```
./run.sh /path/to/your.journal web
```
Run shell in the container (your files will be in /data):
```
./run.sh /path/to/your.journal bash
```
Run hledger command in the container:
```
./run.sh /path/to/your.journal hledger [ARGS]
```
Script `start.sh` is included inside container and used to start `hledger-web`, there is no need to run it manually.