27 lines
718 B
Markdown
27 lines
718 B
Markdown
# nixin-farm
|
|
|
|
NixiN Farm Loco POC
|
|
|
|
|
|
|
|
## Dev environment
|
|
## Install Rust
|
|
If you are on NixOS, there is a shell.nix at the root of the project. You just have to run `nix-shell` to get a rust environment
|
|
Otherwize, go to https://www.rust-lang.org/tools/install for instructions to install Rust
|
|
You will also need open ssl development library (`apt install libssl-dev` on debian/ubuntu)
|
|
# Install Loco
|
|
```sh
|
|
$ cargo install loco-cli
|
|
$ cargo install sea-orm-cli
|
|
```
|
|
|
|
# Update loco
|
|
Use `cargo interactive-update` to update all dependencies. Do not forget to also do it inside the migration sub folder
|
|
|
|
```sh
|
|
$ cargo install cargo-interactive-update
|
|
$ cargo interactive-update
|
|
$ cd migration
|
|
$ cargo interactive-update
|
|
```
|
|
|