MoonZoon is a Rust Fullstack Framework.
-
Check you've installed Rust:
rustc -V # rustc 1.54.0 (a178d0322 2021-07-26)
-
Go to the project root.
-
Install
mzoon
tocargo_install_root
:cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --rev 457b8d1 --root cargo_install_root --locked
- Note: There will be faster and simpler ways with pre-compiled binaries.
-
Move
cargo_install_root/bin/mzoon
to the project root.mv cargo_install_root/bin/mzoon mzoon # or move cargo_install_root/bin/mzoon mzoon
- Note:: You can delete the
cargo_install_root
directory now.
- Note:: You can delete the
-
Build and run:
./mzoon start # or mzoon start
- Note: The app is much faster when built in the release mode (
-r
).
- Note: The app is much faster when built in the release mode (
-
Use the buildpack https://github.com/MoonZoon/heroku-buildpack-moonzoon
-
Update the file
mzoon_commit
if necessary.