mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 18:32:15 +00:00
Improved README with extra examples
This commit is contained in:
parent
af3cc41029
commit
ddded622b4
@ -33,12 +33,18 @@ _**NEW ✨**: You can now embed Wasmer in your Rust application, check our [exam
|
|||||||
Wasmer can execute both the standard binary format (`.wasm`) and the text
|
Wasmer can execute both the standard binary format (`.wasm`) and the text
|
||||||
format defined by the WebAssembly reference interpreter (`.wat`).
|
format defined by the WebAssembly reference interpreter (`.wat`).
|
||||||
|
|
||||||
Once installed, you will be able to run any WebAssembly files (_including nginx and Lua!_):
|
Once installed, you will be able to run any WebAssembly files (_including Lua, PHP, SQLite and nginx!_):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Run Lua
|
# Run Lua
|
||||||
wasmer run examples/lua.wasm
|
wasmer run examples/lua.wasm
|
||||||
|
|
||||||
|
# Run PHP
|
||||||
|
wasmer run examples/php.wasm
|
||||||
|
|
||||||
|
# Run SQLite
|
||||||
|
wasmer run examples/sqlite.wasm
|
||||||
|
|
||||||
# Run nginx
|
# Run nginx
|
||||||
wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf
|
wasmer run examples/nginx/nginx.wasm -- -p examples/nginx -c nginx.conf
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user