diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-05-18 16:12:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 16:12:00 +0200 |
commit | fff5d7f6f14c4b547a92f3c262420d1bdaa5d17f (patch) | |
tree | e299acbfdc5843b7bf1e33aac7c41f6246adc89b /docker/README.md | |
parent | e7fc5bf0b771f308af2046e258ce3d44c2154809 (diff) | |
parent | c53fc74bb87189aaf46d19ab6909f435a7bb6a27 (diff) | |
download | serial-barcode-scanner-fff5d7f6f14c4b547a92f3c262420d1bdaa5d17f.tar.bz2 |
Merge pull request #31 from smilix/master
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. +- ... |