Skip to content
Snippets Groups Projects
Commit 96a51abe authored by Moritz Langenstein's avatar Moritz Langenstein
Browse files

(ml5717) Updated README.md to reflect changes

parent 325bed84
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,12 @@ CRDT-based p2p Drawing Application ...@@ -4,6 +4,12 @@ CRDT-based p2p Drawing Application
## Set up ## Set up
### Fetch submodules
```
> git submodule update --init
```
### Install ### Install
``` ```
...@@ -19,19 +25,13 @@ CRDT-based p2p Drawing Application ...@@ -19,19 +25,13 @@ CRDT-based p2p Drawing Application
### Run the server ### Run the server
``` ```
> npm run peer & > npm run start
```
### Run the static client
```
> npm start
``` ```
### Open in browser ### 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. They will – for now – automatically connect with each other using the server for signalling.
## Development ## Development
......
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