0num4/cdn-starter-test
Public
wasmer run 0num4/cdn-starter-test

A CDN starter template using Static Web Server.

You can follow the full tutorial from here

Usage

All the static files will be served from the public folder, and the static webserver will be configured using the config.toml file.

You can run the CDN template easily using Wasmer (check out the install guide):

wasmer run 0num4/cdn-starter-test --net

[!TIP] You can also run wasmer run . --net in the root of this repo, after running npm run build

Open http://localhost:8080 with your browser to see the CDN.

Deploy on Wasmer Edge

The easiest way to serve your public assets is to use the Wasmer Edge as your CDN.

Live example: https://0num4-cdn-starter-test.wasmer.app/

Run this commmand to deploy to Wasmer Edge:

wasmer deploy

[!NOTE] You will need to change the namespace in wasmer.toml to your own namespace and app name in app.yaml to your own app name.

CDN Wasmer starter package


Github
More packages
CDN Wasmer starter package
CDN Wasmer starter package
syrusakbary avatar
syrusakbary
syrusakbary avatar
syrusakbary
CDN Wasmer starter package
CDN Wasmer starter package
CDN Wasmer starter package