Follow the instructions at https://www.rust-lang.org/tools/install .
npm install # install Sass & Nachiguro
cargo install wasm-pack # Compile Rust to Wasm and generate JS interop code
cargo install cargo-make # Task runner
cargo install simple-http-server # Simple server to serve assets
Copy src/constants.rs.example
to create src/constants.rs
.
Enter the api key of the application you created at https://suzuri.jp/developer/apps into the API_KEY
field in src/constants.rs
.
cargo make build
cargo make serve
npm install -g firebase-tools
firebase login
firebase deploy