mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-01 23:41:03 +00:00
Merge pull request #420 from wasmerio/add-wapm-section-to-readme
Add wapm section to README
This commit is contained in:
commit
1f028e9aab
18
README.md
18
README.md
@ -55,6 +55,24 @@ wasmer run examples/sqlite.wasm
|
|||||||
wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf
|
wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### With WAPM
|
||||||
|
|
||||||
|
Installing Wasmer through `wasmer.io` includes
|
||||||
|
[wapm](https://github.com/wasmerio/wapm-cli), the WebAssembly package manager.
|
||||||
|
|
||||||
|
Wapm allows you to easily download, run, and distribute WebAssembly binaries.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Install cowsay globally
|
||||||
|
wapm install -g cowsay
|
||||||
|
|
||||||
|
# Run cowsay
|
||||||
|
wapm run cowsay "Hello, world!"
|
||||||
|
```
|
||||||
|
|
||||||
|
For more information about wapm, check out the [website](https://www.wapm.io)
|
||||||
|
and this [example program](https://github.com/wapm-packages/rust-wasi-example).
|
||||||
|
|
||||||
## Code Structure
|
## Code Structure
|
||||||
|
|
||||||
Wasmer is structured into different directories:
|
Wasmer is structured into different directories:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user