This is the sources required to build https://rinkcalc.app, which is a statically generated site.
-
wasm-pack(pacman -S wasm-packor cargo install) -
cmark-gfm(pacman -S cmark-gfm) -
AsciiDoctor (
pacman -S asciidoctor) -
Node.JS (21.7.1 known to work)
-
Run
wasm-pack build --target web rink-jsin the repo root. This only needs to be re-run after making changes to rust code. -
Enter
web/repl/and runnpm install -
Enter
web/and runnpm install -
Enter
web/and runsoupault --verbose -
Enter
web/currency/and runnpm install -
Enter
web/build/and runnode ../currency/update-currency.js -
To view, enter
web/build/and runpython -m http.server -b localhost 3000 --protocol HTTP/1.1
Github releases are only fetched once. To re-fetch them, delete
web/build/releases.json and re-run soupault.