Skip to content
Snippets Groups Projects
Commit c300e5b1 authored by Alexander Harkness's avatar Alexander Harkness
Browse files

Update README to match current starting procedure

parent 814c8b13
No related branches found
No related tags found
No related merge requests found
......@@ -19,18 +19,12 @@ CRDT-based p2p Drawing Application
### Run the server
```
> npm run peer &
```
### Run the static client
```
> npm start
> npm run start
```
### Open in browser
Using a modern browser that supports WebRTC, like a recent version of Chrome or Firefox, open several windows of [http://localhost:12345](http://localhost:12345).
Using a modern browser that supports WebRTC, like a recent version of Chrome or Firefox, open several windows of [http://localhost:3000](http://localhost:3000).
Copy your user ID from one client to the peer ID input on another client to establish a connection between the two.
## Development
......
......@@ -9,7 +9,7 @@
},
"scripts": {
"build": "webpack src/app.js -o public/js/app.js",
"peer": "node --experimental-modules server.js",
"start": "node --experimental-modules server.js",
"test": "jest",
"test-changed": "jest --only-changed",
"test-coverage": "jest --coverage"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment