diff --git a/deno.json b/deno.json index 41f48cc..d58f149 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,7 @@ { "tasks": { "dev": "deno run -A --watch src/index.ts" + "prod": "deno run -A src/index.ts" }, "imports": { "@std/assert": "jsr:@std/assert@1", diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..7aaf252 --- /dev/null +++ b/readme.md @@ -0,0 +1,19 @@ +# SchoolBox example WS server implementation. +Half assed denojs ws server. + +## How to run +### Step one +install deno + +### Step two +download this code + +### Step three +```sh +deno i +deno run prod +``` + +### Step four +go to localhost:8000 (share this link with your friends) and use the cli. +