Skip to content
zischr is a self-service point-of-sale & accounting solution
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend
deployment/raspi3
frontend
rpc
.gitignore
LICENSE
Makefile
README.md
scanner.py

README.md

zischr

zischr is a self-service point-of-sale & accounting solution for groups of 15-20 people.

Alt

Deployment on Raspberry Pi 3

(This assumes the Pi has the single purpose of running zischr. Otherwise, you should consider a better isolation strategy. We're happy about a PR with scripts / Dockerfiles / whatever for the deployment/ directory).

Install Raspbian Stretch on your Raspberry Pi 3 (Official Guide). Change the password of the default pi. Afterwards, run the following commands as root:

apt-get install git
cd /root
git clone https://github.com/hadiko-i6/zischr.git /root/zischrdb_checkout
mkdir /root/zischrdb
/root/zischrdb_checkout/deployment/raspi3/deploy.sh

This installs build & runtime dependencies and deploys a copy of the relvant runtime files ot /zischr. deploy.sh also removes everythin in /zischr (the fsdb is kept in /root/zischrdb, no worries).

To keep a Git history of zischrdb, take a look into the hook functionality of the backend server command in the zischr-backend.service file.

Updating

cd /root/zischrdb_checkout
git pull --ff-only
deployment/raspi3/deploy.sh
You can’t perform that action at this time.