This software implements a digital tally sheet. It is used to let users self-manage their beverage consumption at the Freilab in Freiburg.
The software is composed of two parts:
- A client written with Vue.js, delivered via HTTP as a single page
- A HTTP+Websocket server written with Python/Flask, accessing a SQLite database
Feel free to get in touch about using Unary via email: [email protected]
A short idea of how to set this up:
- Run
poetry installto setup Poetry environment - Run
yarn installinclient/directory to install client-side dependencies - Replace the secret key in
init.py - Set up the database (
poetry run flask --app server.py db upgradeusing flask migrations) - Run
poetry run python sample_insert.pyto insert sample products (or using https://sqlitebrowser.org/). - Add product/user images in
data/img - Replace the font in the SCSS with a webfont you can actually deliver
To run the application:
- Run
poetry run flask --app server.py runfor development - Run
poetry run ./server.pyfor production - Or, alternatively, add your favorite WSGI server to poetry and run it