From 5a75640fd999be3ffb01b5bf5ecb79426f866b55 Mon Sep 17 00:00:00 2001 From: "Join.G" Date: Sun, 19 May 2024 22:36:18 +0800 Subject: [PATCH] readme. --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6827c80..b5b7f7a 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,23 @@ Blockless WASI-v86 Extension is an emulated v86 machine inside the Blockless Runtime Environment. -## How to build. +## How to Run with release binary file -### 1. Try run it with the release file +### 1. Running without network. ```bash $ curl -s https://raw.githubusercontent.com/blocklessnetwork/v86-wasi/main/download.sh|bash ``` +### 2. Running with network. + +```bash +$ curl -s https://raw.githubusercontent.com/blocklessnetwork/v86-wasi/main/download.sh|sudo bash +``` + +## How to build. -### 2. Build wasm +### 1. Build wasm install `wasm-unknown-unknown` target @@ -26,7 +33,7 @@ use the follow command to generate the wasm file. $ make release ``` -### 3. Modify the config file. +### 2. Modify the config file. The follow is the configure file @@ -52,7 +59,7 @@ The follow is the configure file } ``` -### 4. Run the test linux +### 3. Run the test linux use the following command to run the linux with the configure file. @@ -64,7 +71,7 @@ After run the VM, you can open the "term.html" file for control the VM. ![](term/Screen.png) -### 5. DIY the linux iso +## DIY the linux iso If you wanna DIY the linux by yourself, please see the document "[https://github.com/blocklessnetwork/build-blockless-linux](https://github.com/blocklessnetwork/build-blockless-linux)"