https://github.com/moonzoon/demo
MoonZoon demo
https://github.com/moonzoon/demo
demo fullstack moonzoon rust wasm
Last synced: 9 months ago
JSON representation
MoonZoon demo
- Host: GitHub
- URL: https://github.com/moonzoon/demo
- Owner: MoonZoon
- License: mit
- Created: 2021-03-27T15:21:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-05T18:11:05.000Z (over 4 years ago)
- Last Synced: 2025-04-22T20:50:57.496Z (about 1 year ago)
- Topics: demo, fullstack, moonzoon, rust, wasm
- Language: Rust
- Homepage: https://moonzoon-demo.herokuapp.com
- Size: 266 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# MoonZoon demo
> [MoonZoon](http://moonzoon.rs/) is a Rust Fullstack Framework.
**[Live demo](https://moonzoon-demo.herokuapp.com/)**
## Run on a local machine
1. Check you've installed [Rust](https://www.rust-lang.org/):
```bash
rustc -V # rustc 1.57.0 (f1edd0429 2021-11-29)
```
1. Go to the project root.
1. Install `mzoon` to `cargo_install_root`:
```bash
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.
1. Move `cargo_install_root/bin/mzoon` to the project root.
```bash
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.
1. Build and run:
```bash
./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
- Use the buildpack https://github.com/MoonZoon/heroku-buildpack-moonzoon
- Update the file `mzoon_commit` if necessary.