Mitgliederladen/backend/readme.md
2023-07-21 10:30:16 +02:00

25 lines
No EOL
728 B
Markdown

# installation
Rustup gets you the ability to install rust in any version, from stable to cutting edge.
## Linux, macos (step 1)
use apt, pacman, curl, brew or whatever, to install _rustup_.
## windows (alternate step 1)
choco install -y rustup
## Always (steps 2 and so on)
- `rustup-init.sh` (Windows: rustup-init.ex, e.g. %AppData%\Local\Temp\chocolatey\rustup.install\1.25.1\rustup-init.exe)
- select a good match in the dialog of this CLI installer,
- i.e. stable and default amount of features should be fine
- rust comes with `cargo` as a ``crate'' manager for package installation
## Get dependencies and run
```shell
cargo build # gets dependencies from Cargo.toml
cargo run # re-runs on (some?) changes
```