Code Monkey home page Code Monkey logo

zischr's Introduction

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

zischr's People

Contributors

drluke avatar problame avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

zischr's Issues

More informative directions when uninventoried item is scanned

Multiple users have reported confusion by the yellow "Talk to Bimi" mode for uninventoried items.
Specifically, they don't know whether it is ok to complete the transaction.

A textbox left of the 'Total' field should explain that this is indeed possible.

Support for processing uninventoried products

  • Algo
    • Filter all transactions of all users for 'NeedsReview'
    • For each transaction: check if the 'ProductIdentifier' is in the products database and no longer has the 'NotInventoried' flag
  • RPC interface
  • backend client support

Reminding users with negative balance

Users with negative account balance should be reminded of that each time they interact with the system

  • Highlight negative account balance in red (in the overview table)
  • Nag in confirmation dialog. Ideas
    • Timeout until the buttons appear, with indicative message at their position during the timeout
    • Indicative, highlighted message below the 'Are you X' question

Docs

  • Screenshot in README
  • Development setup
  • Deployment on Raspberry PI => deployment/raspi3/deploy.sh + explain deploy target

Notification Hook

Use Cases

  1. The Bimi wants to be notified if an uninventoried item was purchased
  2. Users want to be notified when their balance changes.

Implementation

Shell script with first argument specifying event type.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.