Update demo-ipfs-chat.md

This commit is contained in:
Dan Willhite
2017-09-18 15:49:59 -07:00
committed by GitHub
parent e9ab5b3ef9
commit a0aa9b93cb

View File

@@ -20,11 +20,11 @@ go build
```
* Run the ipfs-chat client with the following command:
```
./ipfs-chat client --username <aname1> --node-idx=1 ipfs:/tmp/ifps1::chat
./ipfs-chat client --username <aname1> --node-idx=2 ipfs:/tmp/ifps1::chat >& /tmp/err1
```
* Run a second ipfs-chat client with the following command:
```
./ipfs-chat client --username <aname2> --node-idx=2 ipfs:/tmp/ifps2::chat
./ipfs-chat client --username <aname2> --node-idx=3 ipfs:/tmp/ifps2::chat >& /tmp/err2
```
If desired, ipfs-chat can be run as a daemon which will replicate all