A books library application built on top of Khnum (WIP)
You can create a developpement environment on nix enabled system by executing nix-shell
This installs:
- sqlite (for tests)
- postgresql
- docker-compose
- gettext
- openssl, pkgconfig (needed for installing various cargo packages)
It also set the database connexion parameters
Init postgresql database (with docker)
cd myproject
make initdb
make migrate
error libmariadb.so.x not found
: reinstall diesel_cli withcargo install diesel_cli --no-default-features --features postgres,sqlite
make doc
make test
tests with coverage : make coverage
Start backend server
make run