Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/game-of-life/hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@ Anytime you make changes and want them reflected on
[http://localhost:8080/](http://localhost:8080/), just re-run the `wasm-pack
build` command within the `wasm-game-of-life` directory.

### Build and Deploy

To deploy the app with a web server run the following command:

```
npm run build
```
Then you can provide the generated `dist/` directory with a server of your choice (e.g. by running `python3 -m http.server` within the `dist/` directory).

## Exercises

* Modify the `greet` function in `wasm-game-of-life/src/lib.rs` to take a `name:
Expand Down