NodeAtlas

Installing

Before install NodeAtlas, install Node.js, we will see this in the section : Install Node.js bellow.

Install NodeAtlas

Note: With Linux, add sudo before all commands if you're not logged with root user.

There are several ways to install NodeAtlas:

  • npm install node-atlas (recommended for use as a module in a project).

    This will install NodeAtlas in the node_modules/node-atlas directory of the execution of the command.

  • npm install -g node-atlas (recommended for use as a module in large amount of project or for a command line utilisation).

    This will install NodeAtlas in the global node_modules/node-atlas.

  • Clone the directory from GitHub (recommended for participating to project).

    This will install NodeAtlas in cloning home folder.

    Start at least once NodeAtlas the with the command line \> node </path/to/>node-atlas/, to install the _nodemodules.

  • Download NodeAtlas from the official repository NodeAtlas.

    Once downloaded, unzip NodeAtlas in the folder that will suit you.

    Use npm install command from </path/to/>node-atlas/ directory to install all dependencies.

Install Node.js

NodeAtlas is developed as a Node.js Module Package that means its require Node.js to work. Node.js allows us to quickly and efficiently run JavaScript code outside the browser, making it possible to use the same language on both the front-end and the back-end.

Note: Python 2.6 or 2.7 is required to build from source tarballs.

Install on Windows

Using a package:

Using chocolatey to install Node:

cinst nodejs

or for full install with NPM:

cinst nodejs.install

Install on OSX

Using a package:

Using homebrew:

brew install node

Using macports:

port install nodejs

Install on Linux

Using a package:

Example install with apt-get:

sudo apt-get install python-software-properties python g++ make
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs

There is a naming conflict with the node package (Amateur Packet Radio Node Program), and the nodejs binary has been renamed from node to nodejs. You'll need to symlink /usr/bin/node to /usr/bin/nodejs or you could uninstall the Amateur Packet Radio Node Program to avoid that conflict.