mikeal / nodeconf2014

NodeConf 2014 Organizing and Planning.
7 stars 1 forks source link

Local Networks and Cacheing. #9

Open mikeal opened 10 years ago

mikeal commented 10 years ago

We need to work out the best way to distribute and update the workshoppers and other modules in the local network.

What I'm think is:

I think it's important that the presenters be able to update the workshopper packages during and between the sessions.

Thoughts: @substack @maxogden @dominictarr @isaacs

dominictarr commented 10 years ago

An entire npm cache is probably overkill, what we did last time is a simple server that served a tarball which included the node_modules we'd need for the workshop. Then we'd write a one line command to install that on the board:

curl 192.164.0.100:8000/ | tar -xz

much easier, + only one round trip. for updates, you could still do it the normal way, github, npm etc, and then reinstall on to the computer that is serving the workshop.

If we are trying to be gentle to the network I think this is both less IO, it's also much simpler than an entire npm cache.

mikeal commented 10 years ago

The main reason I'd like a full cache is just so that publishing doesn't get blocked. There's a much bigger focus on publishing new modules this year and I just don't want anything to hold up the feeling someone has when they publish a new module :)

dominictarr commented 10 years ago

good point.