This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

Using NPM to install infusion and node-jqUnit

This tutorial applies to the current version of infusion.
A future version will more likely be published and installed via npm directly.

There are currently two preferred ways of installing infusion and/or node-jqUnit as a node module (for development or testing purposes).

The first method involves relative paths within your file system. Assuming that infusion and/or node-jqUnit are checked out in a sibling directory to the project that you are trying to instal it to:

npm install ../infusion
// and/or
npm install ../node-jqUnit

The second method involves installing node modules using a specific git url:

npm install git://github.com/fluid-project/infusion.git
// and/or
npm install git://github.com/fluid-project/node-jqUnit.git#master
// The # portion is optional, and it can be a branch (like master), tag (like 0.0.1) or a partial or full commit id.
// For example:
// git://github.com/yzen/infusion.git#FLUID-4913
// git://github.com/yzen/node-jqUnit.git#newJqUnit