Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Installation

wwitman edited this page Oct 15, 2014 · 37 revisions

Prerequisites

If you choose to install Apigee-127 using npm you will need npm version 1.3 or higher. You will also need Node.js version 0.10.24 or higher.

Installation

You can install apigee-127 either through npm or by cloning and linking the code from GitHub. This document covers the installation details for installing from npm.

Installation from npm

The apigee-127 module and its dependencies are designed for Node.js and is available through npm using the following command:

Linux / Mac from a Terminal Window:

$sudo npm install -g apigee-127 --unsafe-perm

NOTE: The --unsafe-perm option gives npm permission to create a folder in the ~/.a127 directory. Installing with sudo places the a127 command-line tool in your PATH.

NOTE: Using sudo with the -g option places the a127 command-line tool in your PATH (in /usr/local/bin by default). Also, -g typically places modules in: : /usr/local/lib/node_modules/apigee-127 on *nix-based machines.

NOTE: Advanced npm users may choose to change the default npm prefix setting to point to a directory that doesn't require sudo to write to. The default prefix setting is /usr/local. For example: npm set prefix /Users/myhome/.npm. For details, refer to the npm documentation.

Windows, from a Command Prompt

npm install -g apigee-127

Location of files

Apigee-127 places most of its files that it depends on at a global level in ~/.a127. This includes an accounts file that has details about the configured accounts and an optional usergrid directory if you choose to download and use Usergrid through the a127 command line.

Dependencies

For a list of dependencies and Node.js modules that are relevant to an Apigee-127 project, see Apigee-127 modules

Clone this wiki locally