From 1d6ed8d6275a187b7486ec9d487d52a3f2acc744 Mon Sep 17 00:00:00 2001 From: adwpc Date: Sun, 26 May 2019 15:22:40 +0800 Subject: [PATCH] [doc] update readme --- README.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ab2b82048..8645de758 100644 --- a/README.md +++ b/README.md @@ -15,34 +15,31 @@ [![Stargazers over time](https://starchart.cc/pion/sfu.svg)](https://starchart.cc/pion/sfu) ## How to use -### 1. install signal server and make key.pem|cert.pem +### 1. make key.pem|cert.pem ``` -cd signal-server -./install.sh +./scripts/makekey.sh ``` -### 2. install web app +### 2. build web app ``` -cd pion-sfu-sdk +cd sdk/js npm i ``` -### 3. start signal server +### 3. build sfu ``` -cd signal-server -./start.sh +./scripts/build.sh ``` ### 4. start web app ``` -cd pion-sfu-sdk +cd sdk/js npm start ``` ### 5. start sfu ``` -go build -./sfu +./scripts/start.sh ``` ### 6. let's chat Open this url with chrome ``` -https://yourip:3666 +https://yourip:8080 ```