Keep track of the time you spend on each language.
Create database and run migrations (requires diesel_cli).
diesel setupRun with watch.
cargo install cargo-watch
cargo watch -x "run serve"Clone
git clone https://github.com/tortitast/langkeeperBuild
cargo build --releaseCopy service
cp ./langkeeper.service /etc/systemd/system/Start service
service langkeeper startRun with logs and in single thread so sqlite database works.
cargo test -- --nocapture --test-threads=1Install sqlite with chocolatey.
choco install sqliteCreate .lib with the following command (needs to be run with Visual Studio Development Console for lib to be available) on the directory where the dll is.
cd C:\ProgramData\chocolatey\lib\SQLite\tools
lib /def:sqlite3.def /out:sqlite3.libAdd path to environment variable.
$Env:SQLITE3_LIB_DIR = "C:\ProgramData\chocolatey\lib\SQLite\tools"Install diesel_cli with the following command.
cargo install diesel_cli --no-default-features --features postgres