From fac36a1141ecfd3838cc78125eacdf35b540a130 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Fri, 3 May 2019 10:19:35 -0700 Subject: [PATCH 1/4] Add wapm section to README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index b78db73147c..3289811d492 100644 --- a/README.md +++ b/README.md @@ -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 `get.wasmer.io` includes +[wapm](https://github.com/wasmerio/wapm-cli), the WebAssembly package manager. + +Wapm allows us to easily download, run, and distribute WebAssembly binaries. + +```sh +# Install cowsay globally +wapm install 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: From 1e357d90e4b571b1e4e062f4a1bf24588dbc2471 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Fri, 3 May 2019 10:21:26 -0700 Subject: [PATCH 2/4] change 'us' to 'you' for consistency --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3289811d492..cc833cad57b 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf Installing Wasmer through `get.wasmer.io` includes [wapm](https://github.com/wasmerio/wapm-cli), the WebAssembly package manager. -Wapm allows us to easily download, run, and distribute WebAssembly binaries. +Wapm allows you to easily download, run, and distribute WebAssembly binaries. ```sh # Install cowsay globally From 6d9256dd1f3b2ae406c77b1ae99b304d43414d3a Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Fri, 3 May 2019 10:28:42 -0700 Subject: [PATCH 3/4] fix typo in install command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc833cad57b..c90eb48eea7 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Wapm allows you to easily download, run, and distribute WebAssembly binaries. ```sh # Install cowsay globally -wapm install cowsay +wapm install -g cowsay # Run cowsay wapm run cowsay "Hello, world!" From 8b51a0530f8c2bdd3d1b90350b844343fac26321 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Mon, 6 May 2019 16:41:59 -0700 Subject: [PATCH 4/4] address feedback; clarify URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c90eb48eea7..b1a4ccfa2b4 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf #### With WAPM -Installing Wasmer through `get.wasmer.io` includes +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.