From 7cdc964eac9c5035625a9ad40c40bed1edb02040 Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Thu, 24 Feb 2022 22:00:05 +0530 Subject: Add instructions for running the web app --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d611337..34c066c 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,9 @@ To build, run `CC=gcc make hitomezashi_cli`. Try it: *link pending upload*. -To build, first run `make clean` if you previously built as native code, then (with Emscripten SDK in your PATH) run `emmake make hitomezashi_web.html`. +To build, first run `make clean` if you previously built to native code, then (with Emscripten SDK in your PATH) run `emmake make hitomezashi_web.html`. + +You will need to serve, from a web server: `hitomezashi_web.html`, `hitomezashi_web.js`, `hitomezashi_web.wasm` in order for it to work; the `file://` protocol may not cut it. Remember to follow the terms of the terms of the license if you host these publicly. ## Technical and copyright information -- cgit v1.2.3-57-g22cb