You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
You can either install Oracle JDK or Open JDK
a. Install Oracle JDK 7 - note the steps differ for 32 bit and 64 bit system How to install and setup Oracle JAVA JDK in CentOS 6
b. Install Open JDK 1.7 > yum install java-1.7.0-openjdk-devel
Download TC API project into home directory > cd > git clone git://github.com/cloudspokes/tc-api.git
Change to TC API directory > cd tc-api
Install Java bridge
a. For Oracle JDK (if you took step 3a) > export JAVA_HOME=/usr/java/jdk1.7.0_45 > npm install java
b. For Open JDK (if you took step 3b) > export JAVA_HOME=/usr/lib/jvm/java > npm install java
Install the TC API application > npm install
Apply environment variables (dot followed by space) > . deploy/development.sh
Start server > npm start
Run tests (press ENTER when the command above finishes) > npm test