https://github.com/bmeurer/hello_wasm
Simple hello worldish Wasm/JavaScript test project
https://github.com/bmeurer/hello_wasm
Last synced: over 1 year ago
JSON representation
Simple hello worldish Wasm/JavaScript test project
- Host: GitHub
- URL: https://github.com/bmeurer/hello_wasm
- Owner: bmeurer
- Created: 2019-10-30T07:45:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T17:39:37.000Z (over 6 years ago)
- Last Synced: 2025-01-22T21:32:12.624Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a test case for a simple Wasm/JavaScript use case described
[here](https://docs.google.com/document/d/1zi5LLKwWMRdIIWN4Vgyy7RgcM0f4Xi3Ffn27QO1iMGU/edit?ts=5da9d0c6#heading=h.ouixklef0pmo).
# Building
Just run `make all` to build the files into the `dist/` directory. You need to
have the `wat2wasm` CLI tool installed for this step to succeed.
# Testing
Start a webserver in the `dist/` directory, for example the integrated Python
HTTP server via `python3 -m http.server --directory dist 8000` and then point
your browser to `http://localhost:8000`.