This is a Hugo project bootstrapped with
hugo new site project-name.
You can run the Hugo site with:
This will start a high-performance server that will watch your files.
You can run the Hugo website using Wasmer (check out the install guide):
wasmer run wasmer-examples/hugo-wasmer-starter --net -- --port=1313
[!TIP] You can also run
wasmer run . --net -- --port=1313in the root of this repo, after running
Open http://localhost:1313 with your browser to see the result.
The easiest way to deploy your Hugo static site is to use the Wasmer Edge.
Live example: https://wasmer-edge-hugo-sample.wasmer.app/
First, you'll need to run
hugo to build the assets, and then, to deploy to Wasmer Edge:
[!NOTE] You will need to change the namespace in
wasmer.tomlto your own namespace and app name in
app.yamlto your own app name.