arn-the-long-beard / i_play_with_the_moon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.53.0 (53cb7b09b 2021-06-17)
  2. Go to the project root.

  3. Install mzoon to cargo_install_root:

    cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --rev b8dcf2c --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
    # or
    mzoon start
    • Note: The app is much faster when built in the release mode (-r).

Run on Heroku / Heroku-like PaaS

About

License:MIT License


Languages

Language:Rust 93.6%Language:CSS 6.4%