summaryrefslogtreecommitdiffstats
path: root/docker/README.md
diff options
context:
space:
mode:
authorHolger Cremer <HolgerCremer@gmail.com>2017-12-29 19:00:01 +0100
committerHolger Cremer <HolgerCremer@gmail.com>2017-12-29 19:00:01 +0100
commitc53fc74bb87189aaf46d19ab6909f435a7bb6a27 (patch)
treee299acbfdc5843b7bf1e33aac7c41f6246adc89b /docker/README.md
parente7fc5bf0b771f308af2046e258ce3d44c2154809 (diff)
downloadserial-barcode-scanner-c53fc74bb87189aaf46d19ab6909f435a7bb6a27.tar.bz2
adds docker
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md26
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.
+- ...