diff options
author | Holger Cremer <HolgerCremer@gmail.com> | 2017-12-29 19:00:01 +0100 |
---|---|---|
committer | Holger Cremer <HolgerCremer@gmail.com> | 2017-12-29 19:00:01 +0100 |
commit | c53fc74bb87189aaf46d19ab6909f435a7bb6a27 (patch) | |
tree | e299acbfdc5843b7bf1e33aac7c41f6246adc89b /docker/README.md | |
parent | e7fc5bf0b771f308af2046e258ce3d44c2154809 (diff) | |
download | serial-barcode-scanner-c53fc74bb87189aaf46d19ab6909f435a7bb6a27.tar.bz2 |
adds docker
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000..065bacf --- /dev/null +++ b/docker/README.md @@ -0,0 +1,26 @@ +# Install + +Create the docker image with: +```bash +docker build -t sbs-build . +``` + +# Config + +Change (or create) the `ktt-shopsystem.cfg` file that everything lays in `/mnt/serial-barcode-scanner` (change every folder...). + + +# Usage + +Run the image with: +```bash +# change into the "serial-barcode-scanner" directory +cd .. + +docker run --rm -it -p 8080:8080 -v "$PWD":/mnt/serial-barcode-scanner sbs-build +``` + +You have now a tmux terminal to work with the vala files and run the program. E.g. +- `cd src && make` to make the whole project +- `cd src/curses-ui/ && ./curses-ui` to start the curses ui. +- ... |