Cream
A web application to configuration Caddy based on MoonZoon.
MoonZoon is a Rust Fullstack Framework.
Run on a local machine
-
Check you've installed Rust:
rustc 1.56.0 (09c42c458 2021-10-18)
-
Go to the project root.
-
Install
mzoon
tocargo_install_root
:cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --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 (
Run on Heroku / Heroku-like PaaS
-
Use the buildpack https://github.com/MoonZoon/heroku-buildpack-moonzoon
-
Update the file
mzoon_commit
if necessary.