Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xitongsys committed Sep 12, 2019
1 parent 813689c commit f97fa3c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Pangolin server can only run natively on Linux. But you can use docker to run it
* Change the environment variables in start.sh to your own.

```bash
#SERVERIP=0.0.0.0
#SERVERPORT=12345
#TOKENS='["token01", "token02"]'
#ROLE=CLIENT
SERVERIP=0.0.0.0
SERVERPORT=12345
TOKENS='["token01", "token02"]'
ROLE=SERVER
```

* Start the pangolin server.
Expand All @@ -31,6 +31,12 @@ bash start.sh

### Linux
Same steps with the server. But change the ```ROLE``` to ```CLIENT```.
```bash
SERVERIP=your.server.ip.address
SERVERPORT=12345
TOKENS='["token01", "token02"]'
ROLE=CLIENT
```

### Windows
* [Windows Client](https://github.com/xitongsys/pangolin-win)
Expand Down

0 comments on commit f97fa3c

Please sign in to comment.