diff --git a/README.md b/README.md index ceeb431..5e9b8ec 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ Run your own server on Gitpod! ## Usage ### Run server + +#### Natively + If you don't want to develop anything, just enter few commands below. 1. Install the package globally: @@ -31,11 +34,19 @@ If you don't want to develop anything, just enter few commands below. ``` 3. Check it: http://127.0.0.1:9000/myapp It should returns JSON with name, description and website fields. +#### Docker + Also, you can use Docker image to run a new container: ```sh $ docker run -p 9000:9000 -d peerjs/peerjs-server ``` +##### Kubernetes + +```sh +$ kubectl run peerjs-server --image=peerjs/peerjs-server --port 9000 --expose -- --port 9000 --path /myapp +``` + ### Create a custom server: If you have your own server, you can attach PeerServer.