guardian/pasteup — pull request #18 by ntoll (2013-05-07 14:57:32+00:00)
Title: Fixes to the setup.sh script so it really works (tm). ;-)

Hey Andy,

Please ignore if I've got this completely wrong. But, this branch introduces the following changes:

* I've updated the ``setup.sh`` file to reference the now renamed ``grunt`` -> ``grunt-cli`` package.
* Running ``npm`` with the global ``-g`` flag doesn't work unless you're ``su``. Ergo, I've added ``sudo`` in front of the affected calls.

I've run the ``setup.sh`` script from a "clean" state and it appears to work (i.e. I can run ``grunt`` and the server starts on port 3000 as expected). I'm a tad confused about things in ``node_modules``, but this is more to do with my lack of knowledge than anything else.

N.