- Install
bazelisk
from https://github.com/bazelbuild/bazelisk - Build the app:
bazelisk build //src:hello_world_wasm
- Run the app:
bazelisk run //src:hello_world_wasm
- Run with logs:
VERBOSE_LOGS=1 bazelisk run //src:hello_world_wasm --sandbox_debug
- View the deps graph:
bazelisk query --noimplicit_deps 'deps(//src:hello_world_wasm)' --output graph | dot -Tpng > docs/graph.png
- Install the
hexa
CLI from https://hexa.run - Generate a function project:
hexa init --just=functions
- Review functions/wasmify/wasm_gen/index.ts and functions/wasmify/wasm_gen/wasm_loader.ts
- Deploy the function app:
hexa deploy
This project uses a public list of nouns and adjectives found on this project: https://github.com/fnichol/names/tree/master/data. Please send a PR if you would like to remove any of the offensive adjectives or nouns (I will merge them immediately).