wasmer-examples/docusaurus-wasmer-starter
Public
wasmer run wasmer-examples/docusaurus-wasmer-starter

This is a Docusaurus 2 project, a modern static website generator.

Usage

Install:

$ yarn

Develop:

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build:

$ yarn build

You can run the Docusaurus example using Wasmer (check out the install guide):

wasmer run wasmer-examples/docusaurus-wasmer-starter --net -- --port=3000

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

Open http://localhost:3000 with your browser to see the docusaurus docs.

Deploy on Wasmer Edge

The easiest way to deploy your Docusaurus app is to use the Wasmer Edge.

Live example: https://wasmer-edge-docusaurus-sample.wasmer.app/

First, you'll need to run yarn build, and then, to deploy to Wasmer Edge:

wasmer deploy

[!NOTE] You will need to have Wasmer installed (check out the docs to install the Wasmer CLI!). You will also need to change the namespace in wasmer.toml to your own namespace and app name in app.yaml to your own app name.

Docusaurus Wasmer starter package


Github
More packages
Astro.dev Wasmer starter package
wasmer/wasmer-edge-docusaurus-example website
Package for wasmer axum starter
CDN Wasmer starter package
Wasmer Hugo starter package
Wasmer Gatsby starter package
Mkdocs Wasmer starter package
Remix in Wasmer starter package
Svelte Wasmer starter package
Flask Wasmer starter package

Making software universally accessible