Skip to content

Commit e47395a

Browse files
committed
readme
1 parent 0744f5a commit e47395a

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# gateway-go
2-
3-
##### gateway-go is continuously running on the LAN to receive remote access requests for [OpenIoTHub](https://github.com/OpenIoTHub/OpenIoTHub)
2+
🇺🇸English | 🇨🇳[中文](https://docs.iothub.cloud/gateway/index.html)
3+
#### gateway-go is continuously running on the LAN to receive remote access requests for [OpenIoTHub](https://github.com/OpenIoTHub/OpenIoTHub) like frpc
44
###### Just run gateway-go,gateway-go showing a QR code, then use [OpenIoTHub](https://github.com/OpenIoTHub/OpenIoTHub) scan this QR code add this gateway-go, now you can access all network port and service from OpenIoTHub client
55

66
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/gateway-go)
77

8-
[中文文档](https://docs.iothub.cloud/gateway/index.html)
9-
108
You can install the pre-compiled binary (in several different ways),
119
use Docker.
1210

@@ -38,11 +36,6 @@ opkg install gateway-go
3836

3937
## Install the pre-compiled binary
4038

41-
**one script** :
42-
```sh
43-
curl -fsSL https://get.iothub.cloud | sudo bash
44-
```
45-
4639
**homebrew** (may not be the latest version):
4740

4841
```sh
@@ -65,7 +58,6 @@ $ sudo snap install gateway-go
6558
> /root/snap/gateway-go/current/gateway-go.yaml
6659
>```
6760
68-
6961
**scoop**:
7062
7163
```sh
@@ -90,10 +82,10 @@ copy to the desired location.
9082
## Running with Docker
9183
9284
You can also use it within a Docker container. To do that, you'll need to
93-
execute something more-or-less like the following:
85+
execute something more-or-less like the following, console will show a QR code for adding:
9486
9587
```sh
96-
$ docker run -it --net=host openiothub/gateway-go:latest -t <your Token>
88+
$ docker run -it --net=host openiothub/gateway-go:latest
9789
```
9890
9991
Note that the image will almost always have the last stable Go version.

0 commit comments

Comments
 (0)