From 9d7e5eaec89050a191b301c45e484357f1c44ae8 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Sat, 20 Feb 2021 22:32:40 +0100 Subject: [PATCH] Add info about y-websocket-server to quick-start --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index b7c901a..5b16766 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,22 @@ The Websocket Provider is a solid choice if you want a central source that handl ## Quick Start +### Install dependencies + +```sh +npm i y-websocket +``` + +### Start a y-websocket server + +This repository implements a basic server that you can adopt to your specific use-case. [(source code)](./bin/) + +Start a y-websocket server: + +```sh +HOST=localhost PORT=1234 npx y-websocket-server +``` + ### Client Code: ```js