- Notifications
You must be signed in to change notification settings - Fork53
The Micro-CMS for WebAssembly and Spin
License
fermyon/bartholomew
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Bartholomew is a simple CMS-like tool for hosting a website. It is compiled entirelyto WebAssembly, and can run in any Spin-capable system.
The screenshot below shows how Bartholomew is implemented as the official Fermyon website.
Check outthe official documentation and please raise any issues or ask any questions; we are here to help :)
To run the Bartholomew CMS, you'll needSpin.
To build Bartholomew or thebart
command line tool from source, you'll needRust.
Bartholomew can enforce basic authentication. To enable basic authentication, update the environment for your Spin component and provide the following variables:
environment = {BASIC_AUTH_USERNAME ="bob",BASIC_AUTH_PASSWORD ="foobar" }
Optionally, you can configure therealm
value of theWWW-Authenticate
header sent when requests do not contain anAuthorization
header:
environment = {BASIC_AUTH_USERNAME ="bob",BASIC_AUTH_PASSWORD ="foobar",BASIC_AUTH_REALM ="my-realm" }
To build bartholomew on your local machine, you must have rust and thewasm32-wasi
target installed. Run the following command to build it:
cargo build --target wasm32-wasip1 --release
About
The Micro-CMS for WebAssembly and Spin