Skip to content

FSI-CE/fsikasse

 
 

Repository files navigation

FSI-Kasse

The old Readme can be found in the file Readme-old.md. Refer to it if you can't use the provided Debian packages.

Description

A neat little web application that manages the sale and stock of drinks and sweets. It is designed to run on a single machine, 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

Simply install the provided Debian package.

sudo dpkg -i fsikasse_$version.deb
sudo apt install -f

The FSI-Kasse will be installed at /var/fsikasse.

Migrate from old "installation"

This section is not complete and at your own risk. The basic steps should be

  1. Copy the old installation to /var/fsikasse
  2. Remove old temporary files, like __pycache__, and any virtual environment if present
  3. Migrate the database by hand
  4. Install Debian package

Update (kind of experimental)

Install new package version. The database will be upgraded by the maintainer script if necessary. A separate database backup will be created befor the upgrade.

Downgrades are not implemented! You can use the backup if necessary.

Backup (optional)

The FSI-Kasse comes with a backup script as well. This is availabe as an extra Debian package fsikasse-backup_$version.deb.

Usage:

  1. Install Debian package
  2. Modify config
  3. Initialize Borg repository, see documentation for more information
    borg init $repository

Kiosk mode (optional)

There is a kiosk mode script as well. Install the package fsikasse-kiosk_$version.deb and enable the systemd template with the intended user.

sudo systemctl enable fsikasse-kiosk@$USER --now

About

Digitale Getränkekasse der FSI CE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 43.6%
  • HTML 27.5%
  • CSS 22.1%
  • JavaScript 5.7%
  • Shell 1.1%