Native install on Linux

This will guide you through native nodejs install on Linux (Debian-based distros). These instructions should get you going with GLAMpipe if you have a Linux box or if you can run Linux in virtual machine.

  1. First install mongo database and git

     apt-get install mongodb git

    Test that Mongo is really running. Just type:


    You should see something like this:

    MongoDB shell version: 2.4.10
    connecting to: test

    Press CTRL + C to exit MongoDB Shell.

  2. Then install nodejs. Nodejs in Debian repository is quite old so it is better to install from nodesource:

    execute as root:

    curl -sL | bash -
    apt-get install -y nodejs
  3. Create a installation directory for GLAMpipe and cd to it (as normal user)

    cd directory_you_just_created
  4. Fetch GLAMpipe code from GitHub

    git clone
    cd GLAMpipe
  5. Create data directory for GLAMpipe and set it as dataPath in config/config.js.

    for example:

    mkdir /home/YOUR_USERNAME_HERE/GLAMpipe_DATA 

    Then in config/config.js:

    // - where GLAMpipe can strore project data
    // default: ""
    var dataPath = "/home/__YOUR_USERNAME_HERE__/GLAMpipe_DATA ;
  6. Install node dependencies

    npm install
  7. Try to run

    node glampipe.js

    You should see something like this:

    ********************* G L A M p i pe *************************
    * DATA PATH: /home/arihayri/GLAMpipe_DATA
    * NODE PATH: 
    * STATUS:    running on
    ********************* G L A M p i pe *************************

    You can stop GLAMpipe by pressing CTRL + C