File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 11Build Instructions:
221 . Ensure you have the prerequisites listed here: https://rustwasm.github.io/docs/book/game-of-life/setup.html
3- 2 . Build the Rust into wasm:
3+ 2 . Install
4+ a. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
5+ b. curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
6+ c. curl https://sh.rustup.rs -sSf | sh
7+ d. cargo install cargo-generate
8+ 9+ 4 . Build the Rust into wasm:
410 a. Ensure you are in the root directory of the project
511 b. run ` wasm-pack build `
6- 3 . Install npm dependencies
12+ 5 . Install npm dependencies
713 a. cd into the www directory
814 b. run ` npm install `
9- 4 . Run the web server
10- a. Still in the www directory, run ` npm run start `
15+ 6 . Run the web server
16+ a. Still in the www directory, run ` npm run start `
You can’t perform that action at this time.
0 commit comments