wasmer run wasmer-examples/mkdocs-wasmer-starter

This is a Mkdocs starter project that builds a static site based of Markdown files.

Getting Started

First, install the dependencies:

pip install mkdocs

You can also build the static site directly with:

mkdocs build

Which will create the static-site inside the site directory.

Then you can serve the mkdocs locally with:

mkdocs serve

You can also run the Mkdocs project easily using Wasmer (check out the install guide):

wasmer run wasmer-examples/mkdocs-wasmer-starter --net -- --port 8000

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

Open http://localhost:8000 with your browser to see the result.

Deploy on Wasmer Edge

The easiest way to deploy your Mkdocs static site is to use the Wasmer Edge.

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

First, you'll need to run mkdocs 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.

Mkdocs Wasmer starter package

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

Making software universally accessible