The old Readme can be found in the file Readme-old.md
. Refer to it if you can't use the provided Debian packages.
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.
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
.
This section is not complete and at your own risk. The basic steps should be
- Copy the old installation to
/var/fsikasse
- Remove old temporary files, like
__pycache__
, and any virtual environment if present - Migrate the database by hand
- Install Debian package
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.
The FSI-Kasse comes with a backup script as well. This is availabe as an extra Debian package fsikasse-backup_$version.deb
.
Usage:
- Install Debian package
- Modify config
- Initialize Borg repository, see documentation for more information
borg init $repository
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