Changed wording of readme for clarity

master
DavidOConnor 6 years ago
parent 1b56aa1e7c
commit 1ae2c8e160

@ -1,15 +1,7 @@
# Seed Quickstart # Seed Quickstart
To get started, clone this repo, and make the following changes: **To get started:**
- Clone this repo
- Rename your crate in `Cargo.toml` (The `name` field under `[Package]`)
- 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 (`.sh` for Linux, `.ps1` for Windows). You may delete the other one.
- If you don't have Rust installed, nightly set up, and wasm-bindgen, [Download it](https://www.rust-lang.org), and run the following commands: - If you don't have Rust installed, nightly set up, and wasm-bindgen, [Download it](https://www.rust-lang.org), and run the following commands:
@ -21,5 +13,14 @@ operating system (`.sh` for Linux, `.ps1` for Windows). You may delete the other
`cargo +nightly install wasm-bindgen-cli` `cargo +nightly install wasm-bindgen-cli`
- Run `build.sh` or `build.ps1`, then open `index.html` in a web browser, or use a local server. - 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.)
(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.

Loading…
Cancel
Save