Mitgliederladen/backend/readme.md

25 lines
728 B
Markdown
Raw Normal View History

2023-07-16 15:15:47 +02:00
# installation
2023-07-21 10:23:41 +02:00
Rustup gets you the ability to install rust in any version, from stable to cutting edge.
2023-07-16 15:15:47 +02:00
2023-07-21 10:23:41 +02:00
## Linux, macos (step 1)
2023-07-16 15:15:47 +02:00
2023-07-21 10:23:41 +02:00
use apt, pacman, curl, brew or whatever, to install _rustup_.
2023-07-16 15:15:47 +02:00
2023-07-21 10:23:41 +02:00
## windows (alternate step 1)
choco install -y rustup
2023-07-16 15:15:47 +02:00
## 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)
2023-07-21 10:23:41 +02:00
- select a good match in the dialog of this CLI installer,
- i.e. stable and default amount of features should be fine
2023-07-21 10:30:16 +02:00
- rust comes with `cargo` as a ``crate'' manager for package installation
2023-07-16 15:15:47 +02:00
2023-07-21 10:30:16 +02:00
## Get dependencies and run
```shell
cargo build # gets dependencies from Cargo.toml
cargo run # re-runs on (some?) changes
```