Moonshine script for installing Node.js and NPM
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/moonshine
moonshine
spec
LICENSE
README.rdoc

README.rdoc

Moonshine::Nodejs

A plugin for installing Node.js and npm (from source)

This plugin installs and configures node.js for your server. Just include the plugin and recupe, deploy and you will have node.js on your server.

Options:

:version => '0.4.11' (default)
:npm_version  => '1.0.26' (default)
:npm_clean    => 'yes' (default)

This plugin can install the latest unstable version but defaults to 0.4.11.

Instructions

  • script/plugin install git://github.com/iros/moonshine_nodejs.git

  • To customize rules, use the configure method:

    configure(:nodejs => {
        :version      => '0.5.4', 
        :npm_version  => '1.0.26', 
        :npm_clean    => 'yes'})
  • Include the recipe in your Moonshine manifest.

    recipe :nodejs

TODO:

Write spec tests.