Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Dec 27, 2020
1 parent d72a9d0 commit 35f6960
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ given program's connect by [`ptrace(2)`](https://en.wikipedia.org/wiki/Ptrace),

## Installation

### Install from source

`graftcp` runs on Linux. Building `graftcp-local` requires [Go](https://golang.org/doc/install) installed.

```sh
Expand All @@ -31,9 +33,13 @@ Optionally, you can also install them to system:

```sh
sudo make install
# Enable and activate systemed unit
sudo make install_systemd
```

Then `graftcp-local` will run automatically as the operating system starts.
### Install from binary package

TODO

## Usage

Expand Down
8 changes: 7 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

## 安装

### 源码安装

`graftcp` 在 Linux 系统内运行。 `graftcp-local` 使用 Go 编写, [Go](https://golang.org/doc/install) 环境是必需的。

```
Expand All @@ -25,9 +27,13 @@ make 执行完后,即可运行 `graftcp-local/graftcp-local` 和 `./graftcp`

```sh
sudo make install
# Enable and activate systemed unit
sudo make install_systemd
```

之后 `graftcp-local` 会随着系统启动而自动运行。
### 二进制包安装

TODO

## 用法参数

Expand Down

0 comments on commit 35f6960

Please sign in to comment.