-
Notifications
You must be signed in to change notification settings - Fork 24
Installation
- Node.js version 0.10.24 or higher installed on the machine where you want to run Apigee-127
- npm version 1.3 or higher
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.
Apigee-127 includes a command-line interface that is most easily used when it is on the PATH of your environment. npm allows you to install a module globally using the -g
option. Using this option with a default configuration will attempt to put the a127
executable in a directory that needs root permissions such as /usr/local/bin
. You have two options:
- Use
sudo
to execute the command, in which case you will need to add the--unsafe-perm option
option. The--unsafe-perm
option gives npm permission to create a folder in the~/.a127
directory to store things like the skeleton files for a starter project. This command would be:
$ npm install -g apigee-127 --unsafe-perm
- Configure npm to use a directory that does not require root privileges by setting the npm 'prefix'. These steps can be found here: X
Once you have configured npm in this manner, open a Terminal window and type the following command:
$ npm install -g apigee-127
npm install -g apigee-127
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.
For a list of dependencies and Node.js modules that are relevant to an Apigee-127 project, see Apigee-127 modules
Having Trouble? Try posting your question to the Apigee Community. Or, for more links and resources, check out our Help Page
Need help? Visit the Apigee Community ! |
---|
-
Getting started
-
Add policies to your API
-
Add security policies
-
Deploy your projects
-
Programmatic hooks
-
Good to know about
-
Deep dives
-
Reference topics
-
Troubleshooting and getting help
-
Related resources