added readme updated deno.json
This commit is contained in:
parent
39f6e99abe
commit
432f2e0de4
2 changed files with 20 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
19
readme.md
Normal file
19
readme.md
Normal file
|
|
@ -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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue