Cleanup and rewrite of MNTBooks in Rust.
MNTBooks is a minimalist ERP (enterprise resource planning) system for smol manufacturing companies.
sudo apt install libsqlite3-dev libpq-dev default-libmysqlclient-dev
cp mntconfig.toml.default mntconfig.toml
cargo install diesel_cli
export DATABASE_URL=./mntbooks.sqlite
diesel migration run
cargo build
./target/debug/mntbooks
- Actix (web/actor framework)
- Tera (templates)
- Diesel (SQL abstraction)
- r2d2 (DB connection pool)
- SQLite (but can also be Postgres or anything supported by Diesel)