Skip to content

Commit fd782a4

Browse files
Add README with prerequisites to example app
Signed-off-by: Kate Goldenring <[email protected]>
1 parent 78aa2b3 commit fd782a4

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/hello-world/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Hello World Command Spin App
2+
3+
## Prerequisites
4+
5+
1. Install [`cargo-component`](https://github.com/bytecodealliance/cargo-component) with a version that is compatible with WASI 0.2.0
6+
(at least `v0.7.0`).
7+
8+
2. Install the command plugin from the releases or build building and installing from main:
9+
10+
```sh
11+
cd ..
12+
cargo build --release
13+
spin pluginify install
14+
```
15+
16+
## Running
17+
18+
```sh
19+
$ spin build --up
20+
Hello, world!
21+
```

0 commit comments

Comments
 (0)