hledger/docker/README.md

29 lines
535 B
Markdown
Raw Normal View History

## Instructions
2019-01-26 03:46:11 +03:00
Build slim container with binaries only:
2019-01-26 03:46:11 +03:00
```
./build.sh
2019-01-26 03:46:11 +03:00
```
Build container suitable for development:
2019-01-26 03:46:11 +03:00
```
./build-dev.sh
2019-01-26 03:46:11 +03:00
```
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.