- rust build nightly using rustup chain command.
a. install rust with this command (Unix like or linux)
b. install rust nightly (version this 1.71 rust nightly)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
c. set the rust nightly installation set to defaultrustup install nightly
d. install the crate by this commandrustup default nightly
or use this commandmake install
# HotReload cargo install cargo-watch # SQLX-CLI cargo install sqlx-cli
- make
.env
file on the root project folder - setup the env like database, etc.
- compile the web app
cargo build
- running the web app service
or prefer the release
cargo run
cargo run --release