Skip to content

Commit

Permalink
Merge pull request #66 from blocklessnetwork/feature/script_network
Browse files Browse the repository at this point in the history
readme.
  • Loading branch information
Joinhack authored May 19, 2024
2 parents 47af7d4 + 5a75640 commit 88552ac
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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.

Expand All @@ -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)"
Expand Down

0 comments on commit 88552ac

Please sign in to comment.