SolvedSphinx126 / life-simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Instructions:

  1. Ensure you have the prerequisites listed here: https://rustwasm.github.io/docs/book/game-of-life/setup.html
  2. Install a. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh b. curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh c. curl https://sh.rustup.rs -sSf | sh d. cargo install cargo-generate e. sudo apt install npm f. npm install npm@6.14.15
  3. Build the Rust into wasm: a. Ensure you are in the root directory of the project b. run wasm-pack build
  4. Install npm dependencies a. cd into the www directory b. run npm install
  5. Run the web server a. Still in the www directory, run npm run start

if you see the linker cc not found error run 'sudo apt install build-essential' and restart at cargo install cargo-generate

About

License:Apache License 2.0


Languages

Language:Rust 86.1%Language:JavaScript 10.7%Language:HTML 3.2%