Skip to content

Commit 80c5b2b

Browse files
authored
Update README.md
added the linux commands from when were setting it up to read me
1 parent b9d9886 commit 80c5b2b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
Build Instructions:
22
1. 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+
e. npm install [email protected]
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`

0 commit comments

Comments
 (0)