From: Stephen Seo Date: Mon, 31 Jul 2023 03:53:36 +0000 (+0900) Subject: Add README.md X-Git-Tag: video_0 X-Git-Url: https://git.seodisparate.com/tbm-edit-custom-editing.jpg?a=commitdiff_plain;h=c4d9dc84377897103f452fefea889a39da5e0eb4;p=jumpartifact.com_demo_0 Add README.md --- diff --git a/README.md b/README.md new file mode 100644 index 0000000..4ebb2a5 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# (First) Demo for jumpartifact.com + +This project will be the demo displayed on the home page of +[jumpartifact.com](https://jumpartifact.com). + +## Setting up + +Clone `https://github.com/emscripten-core/emsdk.git` to `${HOME}/git/emsdk`, and +run the following commands in the cloned directory: + + git checkout 3.1.44 + ./emsdk install latest + ./emsdk activate latest + +Now you can use emsdk by sourcing the `emsdk_env.sh` file and using emcc/em++. +The Makefile in `wasm_build/` should now "just work" with `make`. + +## Testing the wasm build + +After building the wasm version of this demo (which should have emitted an .html +file and a .wasm file and possibly more), you can invoke `python -m http.server` +(or use whatever http server you want) in the directory where the .html file is, +and open your browser to `localhost:8000` (if using `python -m http.server`). +You should then be able to click on the emitted .html to open the wasm build in +the browser.