blob: 065bacf6bf9f4cbc2ee1260c7dafdbfa1dc54d94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.
- ...
|