Multi-platform portable (offline) application that bundles the BYBE website
cargo install tauri-cli
git clone --recurse-submodules https://github.com/RakuJa/BYBE-Portable.git
To let BYBE aka BYBE-backend aka BYBE-core compile, you have to let the Rust library find the database.db file. This can be done either by:
cp . /full/path/to/BYBE-Portable/BYBE-tauri/data/database.db
or by:
export DATABASE_URL = /full/path/to/BYBE-Portable/BYBE-tauri/data/database.db
Important! It's better to avoid the latter, as it could result in unexpected behaviour during dev testing
In the project directory, run
cargo tauri dev
In the project directory, run
cargo tauri build
Errors should only happen if you have a Arch/Fedora distribution and AppImage as target build. (https://tauri.app/v1/guides/building/linux/#limitations / linuxdeploy/linuxdeploy#272) If there are errors while building the AppImage, first delete the target folder at ./BYBE-tauri/target and when there is no target folder run
NO_STRIP=true cargo tauri build