Skip to content

Commit

Permalink
Merge pull request #420 from wasmerio/add-wapm-section-to-readme
Browse files Browse the repository at this point in the history
Add wapm section to README
  • Loading branch information
syrusakbary authored May 7, 2019
2 parents c902246 + 8b51a05 commit 1f028e9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,24 @@ wasmer run examples/sqlite.wasm
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

Wasmer is structured into different directories:
Expand Down

0 comments on commit 1f028e9

Please sign in to comment.