From f97fa3c89bcb7a8dee8207473716431b465bbdef Mon Sep 17 00:00:00 2001 From: xitongsys Date: Wed, 11 Sep 2019 21:21:11 -0400 Subject: [PATCH] update readme --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c8e5042..09c4072 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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)