Skip to content

Setting Up

stevenlyons edited this page Jan 7, 2015 · 2 revisions

Requirements

Unit testing Openmix applications requires node.js. Once node.js is installed, any other application dependencies can easily be installed as part of the application setup.

OS X

There are multiple ways to install node.js. Choose the method that works best for you.

Binaries

The node.js installer can be downloaded at: http://nodejs.org/download/

  • Download the installer for the current node.js version
  • Run the downloaded installer

Homebrew

Homebrew is a package manager that is commonly used on OS X. Installation instructions can be found at http://brew.sh/

To install node.js with Homebrew:

$ brew install node

Linux

There are multiple ways to install node.js. Choose the method that works best for you.

Binaries

The node.js binaries can be downloaded at: http://nodejs.org/download/

  • Download the tar files with the binary files

  • Open a terminal to the directory where you would like to install node.js

  • Untar the binary files:

    $ tar xzf /path/to/node---.tar.gz

apt-get

To install node.js with apt-get:

$ sudo apt-get install nodejs nodejs-legacy

Windows

The node.js installer can be downloaded at: http://nodejs.org/download/

  • Download the installer for the current node.js version
  • Run the downloaded installer

Clone this wiki locally