Browse Source

Merge pull request #148 from luizbills/gitpod

Add Gitpod support
Alex Sosnovskiy 5 years ago
parent
commit
344f203b13
2 changed files with 9 additions and 0 deletions
  1. 7 0
      .gitpod.yml
  2. 2 0
      README.md

+ 7 - 0
.gitpod.yml

@@ -0,0 +1,7 @@
+tasks:
+  - init: npm i
+    command: npm start
+
+ports:
+  - port: 9000
+    onOpen: open-preview

+ 2 - 0
README.md

@@ -4,6 +4,8 @@
 
 PeerServer helps broker connections between PeerJS clients. Data is not proxied through the server.
 
+[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/peers/peerjs-server)
+
 ## [https://peerjs.com](https://peerjs.com)
 
 ### Run PeerServer