summaryrefslogtreecommitdiffstats
path: root/docker/README.md
blob: 77d375cc25d65198723ef075129ec5b612f04d5b (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
# Install

Create the docker image with:
```bash
docker build -t sbs-build .
```

# Config

Change the `config.ini` 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 tmux
```

You have now a tmux terminal to work with the vala files and run the program. 

You can now start the single binaries in "obj-x..../src/" dir.