update readme
This commit is contained in:
parent
eb25392c87
commit
9cf25a37f1
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -6,8 +6,18 @@
|
||||||
GOOS=wasip1 GOARCH=wasm go build -o main.wasm
|
GOOS=wasip1 GOARCH=wasm go build -o main.wasm
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Note: wasip1 means WASI preview1. As of 2025-02-22 WASI preview2 is not supported yet by golang - but it's available in wasmtime.*
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wasmtime main.wasm env
|
wasmtime main.wasm env
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Next targets
|
||||||
|
|
||||||
|
- [ ] Make sure that we can build a `hugo` website with wasmtime (requires to bind folders)
|
||||||
|
- [ ] Run this `hugo.wasm` file programatically from Rust
|
||||||
|
- [ ] Create a simple webservice (without auth or any bells and whistle) in Rust that takes a public git URL, run git clone, then build the website by calling the WASM file on it
|
||||||
|
- [ ] Publish on S3 this website
|
||||||
|
- [ ] Integrate this workflow in Guichet with appropriate permission checking and features (support authenticated git repositories for example)
|
||||||
|
|
Loading…
Add table
Reference in a new issue