Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.23 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.23 KB

MoonZoon demo

MoonZoon is a Rust Fullstack Framework.

Live demo

Run on a local machine

  1. Check you've installed Rust:

    rustc -V # rustc 1.57.0 (f1edd0429 2021-11-29)
  2. Go to the project root.

  3. Install mzoon to cargo_install_root:

    cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --rev 15cb619faca5f78a47e08f4af4bfa595f0eb64b1 --root cargo_install_root --locked
    • Note: There will be faster and simpler ways with pre-compiled binaries.
  4. 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.
  5. Build and run:

    ./mzoon start -o
    # or
    mzoon start -o
    • Note: -o / --open opens a new tab in your browser.
    • Note: The app is much faster when built in the release mode (-r).

Run on Heroku / Heroku-like PaaS