Cavavin is a Single Page Application (SPA) written in Ruby to organize your wine cellar.
The application is made with a Sinatra web server and a GTK3 interface connected to it.
The advantage is that the app can be used as a regular web application or a desktop one.
See Ruby Documentation depending on your OS.
After that, install the Bundler gem:
gem install bundlergit clone https://github.com/valentinRyckaert/Cavavin.git
cd CavavinGems are installed in the rubydep/ directory. If you want to restart gem installation, just delete the folder.
bundle installIf the installation fails, especially on native extension building, you likely lack from some stuff like gcc or make packages. Search on the Internet.
Cavavin uses a CSV file as database:
touch database.csv # in the root directoryLAUNCH_TYPE=desktoponly
DB_PATH=database.csv
WEBAPP_IP=127.0.0.1
WEBAPP_PORT=4567
bundle exec ruby app.rbWeb app is accessible at http://localhost:4567.
- possibility to use SQL database
- web security
- translation french-english
- dark theme
- web to desktop security (token)
- toogle for authentication or not
- migrate to my own CSS/JS
- scripts for install/launch (web, web/desktop, desktop only, linux, windows...)
- logger
- unit tests