Appearance
Setup
Prerequisites
- Installation of Rust with the
stabletoolchain - SQLite 3.x
Development tooling
The installation of various development tools is automated by a just recipe named setup:
sh
cargo install just
just setupcargo install just
just setupCheck the configuration in .justfile if any of the recipe's steps should fail. Running the recipe repeatedly is also possible.
The setup includes the installation of a Git pre-commit hook in .git/hooks/.
Platforms and environments
NixOS
On NixOS you can run nix-shell within the root of the repository to pull all required dependencies.
macOS
If setting up MacOS in order to build, be sure to install a C compiler via $ xcode-select --install. Otherwise cargo install will not behave as expected.
Ubuntu
Install required packages:
sh
sudo apt-get install curl libssl-dev gcc sqlite3 libsqlite3-devsudo apt-get install curl libssl-dev gcc sqlite3 libsqlite3-devPeriodic tasks
Both the development toolchain, tools and the Rust dependencies should be upgraded periodically by running the following just recipe:
sh
just upgradejust upgradeReview the changes in the configuration files and commit them selectively as desired.