Skip to content
Digitale Tablet Getränkekasse der FG-Verkehrsingenieurwesen an der Uni Stuttgart
JavaScript Python HTML CSS PLpgSQL Batchfile
Branch: master
Clone or download
Pull request Compare This branch is 28 commits ahead, 8 commits behind FSI-CE:master.
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.
static
templates
.gitignore
LICENSE
Readme.md
schema.sql
start.cmd
start_chrome.cmd
vingkasse.py

Readme.md

FG-VIng - Getränkekasse

This is a fork of the neat fsikasse. Mainly it was optimised for the use case of the "Fachgruppe Verkehrsingenieurwesen" at the University of Stuttgart.

Description

A neat little web application that manages the sale and stock of drinks and sweets. It is designed to run on a Windows 10 tablet with a resolution of 1920x1200 (Chuwi Hi8 Pro). All users are expected to be trusted and "well behaved". It was meant to have (at least) the same feature set as the paper tally sheet, which it replaced.

Installation

Install dependencies:

$ pip install -U Flask Flask-BasicAuth Pillow Pandas Matplotlib

Download and extract ving-kasse or clone the git repository.

$ git clone https://github.com/legeiger/ving-kasse.git
$ cd ving-kasse

Setup vingkasse:

$ FLASK_APP=vingkasse flask initdb
> set FLASK_APP=vingkasse
> flask initdb

From now on it is sufficient to start vingkasse with:

$ FLASK_APP=vingkasse flask run
> flask run

To use the development environment:

$ FLASK_ENV=development
> set FLASK_ENV=development

Update (experimental)

If you have cloned the repository, you can run the following commands to update the vingkasse:

$ pip install -U Flask
$ pip install -U Pillow
$ git pull

Don't forget the restart flask.

You can’t perform that action at this time.