Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.46 KB

File metadata and controls

33 lines (23 loc) · 1.46 KB

Back to main README.md

AssemblyScript Examples

These examples have moved to the proxy-wasm-sdk-as repository, where they live alongside the SDK they depend on.

Build

Each example is standalone. Clone the SDK repo and build the example you want:

git clone git@github.com:G-Core/proxy-wasm-sdk-as.git
cd proxy-wasm-sdk-as/examples/<name>
pnpm install
pnpm run asbuild

This produces build/<name>.wasm (release) and build/<name>-debug.wasm (debug with source maps).

Running an example

Upload build/<name>.wasm to the FastEdge portal and attach it to your CDN application.

See the individual example README for any required environment variables or secret variables.