-
Notifications
You must be signed in to change notification settings - Fork 87
Install TC API application on Mac OS X 10.7.3 (Lion) or later
-
Install Oracle JDK 7
a. Download installation package (you have to agree to license agreement first)
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
b. Follow instructions for installation
http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html -
Install Git
a. Download installation package (download will start immediately)
http://git-scm.com/download/mac
b. Open the downloaded package and then open README.txt for installation instructions -
Install Node.js v0.10
a. Download “Macintosh Installer” from the page
http://nodejs.org/download/
b. Open the downloaded package and follow its instructions -
Download TC API project into home directory
> git clone git://github.com/cloudspokes/tc-api.git
-
Change to TC API directory
> cd tc-api
-
Install Java bridge
a. For Mac OS X version Mavericks it may be necessary to run
Please update the path for JDK Home, based on your environment installation.> export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_xx.jdk/Contents/Home/
b. Run installation
> npm install java
-
Install the TC API application
> npm install
Note: Incase of Mac OSX if> npm install
fails and you get errors related to header files "conio", "cstdio" etc not found. Command line tool may not have been installed. To do so, go to your terminal and executexcode-select --install
and install the software. Runnpm install
again to check if it works. Refer to the pull request for more information. -
Apply environment variables (dot followed by space)
Before that please config the ip address correctly to the VM assigned to you with informix database installed.Please check Configure Environment Variables for detail guide
> . deploy/development.sh
-
Start server
> npm start
-
Run tests (press ENTER when the command above finishes)
> npm test