Learn language vocabulary by flash cards - 'kaati ako' in Tongan.
This package uses the GTK library for the GUI:
- You need to install GTK for your OS, e.g.
apt install libgtk-3-dev
. gtk-rs
currently requires Rust 1.51.0 or greater, see https://github.com/gtk-rs/gtk3-rs . To make this available in your environment, runrustup toolchain install 1.52.1 && rustup default 1.52.1
This package uses a SQLite database.
- You might want to install a sqlite client:
apt install sqlite3
. - Then you can run
sqlite3 kaati_ako.sqlite
to inspect the database.
- The autogenerated code documentation can be created by
cargo doc
orcargo doc --open
to open them in the browser.
- Simply execute
cargo run --release
.
- If you want to install the binary to your cargo bin, run
cargo install --path .
. - When running the binary, you should provide a path to the database file if it is not called
kaati_ako.sqlite
in your current directory, e.g.DB_PATH=/path/to/db.sqlite kaati_ako
. - You can copy the provided
assets/kaati_ako.desktop
manually into~/.local/share/applications/
and it should be available by your desktop's program starter. You probably need to edit theExec
key for the database path.