You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
DavidOConnor dae1e76e35 Updated for update func taking Model, and removed nightly instructions 6 years ago
pkg Modified gitignore to preserver pkg directory 6 years ago
src Updated for update func taking Model, and removed nightly instructions 6 years ago
.gitignore Updated for update func taking Model, and removed nightly instructions 6 years ago
Cargo.toml Updated for update func taking Model, and removed nightly instructions 6 years ago
README.md Updated for update func taking Model, and removed nightly instructions 6 years ago
build.ps1 Minor updates 6 years ago
build.sh Minor updates 6 years ago
index.html Post-publish push 6 years ago

README.md

Seed Quickstart

To get started:

  • Clone this repo

  • If you don't have Rust and wasm-bindgen installed, Download it, and run the following commands:

rustup update

rustup target add wasm32-unknown-unknown

cargo install wasm-bindgen-cli

  • Run build.sh or build.ps1, then open index.html in a web browser, or use a local server. (Opening the file directly may not work in some browsers.)

Once you rename the crate in Cargo.toml (The name field under [Package]), make the following changes:

  • Replace both occurances of appname (/appname.js and /appname.wasm) in index.html with your crate's name.

  • Make the same replacement in either build.sh, or build.ps1, depending on your operating system. You may delete the other one.