peer-pad icon indicating copy to clipboard operation
peer-pad copied to clipboard

When using 'npm start' for dev, indicate to developer that they also need to run rendezvous server

Open jimpick opened this issue 6 years ago • 4 comments

With PR #253, we now configure peer-pad to use a rendezvous server running on localhost when the developer runs npm start. If the developer doesn't read the documentation, they might not know that they need to also run npm run start:rendezvous ... if they don't the application prevents editing, and it's not really obvious what is happening.

In #253, we discussed either running the rendezvous server automatically, or indicating to the user that they need to run it themselves.

jimpick avatar Dec 04 '18 08:12 jimpick

what happens is that the binding fails and the node silently fails to start, right?

this in itself is kind of broken (https://github.com/libp2p/js-libp2p-websocket-star/issues/61), you should generally be able to use the app in single-player mode, especially for development, though right now making that happen unfortunately requires fixing js-libp2p

parkan avatar Dec 04 '18 18:12 parkan

Running peer-pad from local rendezvous-vous would require injecting some alternative configuration into peer-pad in compile or pre-boot-run-time.

pgte avatar Dec 05 '18 09:12 pgte

@pgte does this not accomplish that? https://github.com/ipfs-shipyard/peer-pad/pull/253

parkan avatar Dec 05 '18 19:12 parkan

@parkan it does, nice!

pgte avatar Dec 05 '18 21:12 pgte