From 0ae926b47b4b905143dc423ac4d58da4df5cc57a Mon Sep 17 00:00:00 2001 From: PrashoonB Date: Sat, 23 Jan 2021 21:41:08 +0530 Subject: [PATCH 1/2] Added installation method for yarn --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6fe9eab..bb11d77 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,11 @@ If you have your own server, you can attach PeerServer. 1. Install the package: ```sh #$ cd your-project-path + # with npm $ npm install peer + + # with yarn + $ yarn add peer ``` 2. Use PeerServer object to create a new server: ```javascript From 7160e9cc20d4714d947c7f20991f2fc01b4b9aa1 Mon Sep 17 00:00:00 2001 From: PrashoonB Date: Sat, 23 Jan 2021 21:45:12 +0530 Subject: [PATCH 2/2] fix README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb11d77..0aed177 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,9 @@ $ kubectl run peerjs-server --image=peerjs/peerjs-server --port 9000 --expose -- If you have your own server, you can attach PeerServer. 1. Install the package: - ```sh - #$ cd your-project-path + ```bash + # $ cd your-project-path + # with npm $ npm install peer