Pages

Thursday, 23 March 2017

APIC Installation

1.  Install Node.js in windows system

2. Make sure you have Node and NPM installed by running simple commands to see what version of     each is installed and to run a simple test program:

3. Test Node.
     node –v
     v0.10.35

4. Test NPM.
     npm -v 
     1.4.28

5.  Create a JavaScript file: name it hello.js, and just add the code console.log('Node is installed!');.  
     To run the code simply open your command line program, navigate to the folder where you save          the file and type
     node hello.js

6. Install version 3 of npm by entering the following command:
    npm install -g npm

7. Then ensure the npm command uses the correct version:
     npm -v

8. If the version shown is not 3.x.x, then edit your system PATH to ensure that                
    C:\Users\username\AppData\Roaming\npm supersedes any other entries.

Install IBM API Connect
npm install -g apiconnect

This installs:
1.  API Connect Developer Toolkit, that includes the apic command-line tool and the API Designer          visual tool
2.  LoopBack Node.js framework
3.  API Connect Micro Gateway

It will take around 30 minutes to install API Connect
Once installation is complete check the version of APIC connect using below command

apic –v

It will ask for license acceptance select yes
Once it's completed check for API connect version

                                      


References
=========
API Connect Reference:
https://www.npmjs.com/package/apiconnect
https://strongloop.com/get-started/

Node.js Reference: http://blog.teamtreehouse.com/install-node-js-npm-windows
                                https://nodejs.org/en/download/

No comments:

Post a Comment