The Drinklist is essentially a digital tally sheet which is intended for tracking coffee or beverage self service sales in offices or communities. It is intended to be used very quickly and with very minimal user interaction. This project also includes a management view to manage and track the inventory and the sales.
This was designed and build for the FIUS by its members.
First install all dependencies and setup the data folder with:
npm install
npm run setup-data-folder
Then start the node js server with:
npm start
or run it directly with:
node src/server.js
Lastly navigate to the Admin Page or the User Page and start using the system.
Container: neumantm/drinklist
Start with mapped config dir and forarded ports:
docker run -e TZ="Europe/Berlin" -p 8080:8080 -p 8081:8081 -p 8082:8082 -v ~/drinklistData:/app/data neumantm/drinklist
Since version 1.1.0 contains breaking changes you need to migrate your data. There are two paths for this. Either open the data/history.db file with any sqlite programm of your choosing and run:
ALTER TABLE users ADD COLUMN hidden INTEGER NOT NULL DEFAULT 0;
Or go to the install directory with the data folder inside and run this command in a shell:
sqlite3 data/history.db "ALTER TABLE users ADD COLUMN hidden INTEGER NOT NULL DEFAULT 0;"
Additionally it is necessary to create the data/user-settings.json file with the following content:
{"imprint":true,"data-protection":true,"recently-purchased":true,"history":true,"money":true}
| Name | Port | Description |
|---|---|---|
| API | 8080 | This is the api used to store and manage all informations |
| user page | 8081 | This is the page accessible for the users to mark there 'expenses' |
| admin page | 8082 | This is the page used by the administrators to add and track beverages and view the accounts |
Content type
Image
Digest
Size
548.9 MB
Last updated
about 4 years ago
docker pull fius/drinklist