curvechart v0.1.14
quickcharts-curve
Last updated : 10 FEB 2014
Table of Contents
- Proxy Settings
Proxy is required for Git, NPM and Bower to work properly.
For BKK site, can choose one of the following:
http://10.40.14.55:8080 http://10.40.14.56:8080 http://10.1.51.10:80 http://10.1.56.10:80 http://10.1.56.11:80 Then set an HTTP_PROXY,HTTPS_PROXY environment variable to the proxy address.
NOTE:
Please ensure to include the http:// prefix, as some machines failed to recognize the proxy without it. Proxy settings may vary depending on your office location, please refer to network support team if you have encounter a connectivity problem.
- Git
Install the latest stable version of Git from http://git-scm.com/downloads. Then setup proxy for Git via this command:
git config --global http.proxy http://proxy-ip:proxy-port ex.
- git config --global http.proxy http://webproxy.int.westgroup.com:80
- git config --global https.proxy http://webproxy.int.westgroup.com:80
Change the proxy-ip:proxy-port to a real proxy address, see Proxy Settings section for more info.
- Node.js
Install the latest stable version of Node.js from http://nodejs.org or call
- npm install from your command line console
NPM (Node.js Package Manager, come with Node.js installation) recognize the proxy setting in HTTP_PROXY environment variable, so step 1 should suffice. ex.
- npm config set https-proxy http://webproxy.int.westgroup.com:80
- npm config set proxy http://webproxy.int.westgroup.com:80
- Bower
Bower is a Node.js module for downloading client-side dependencies.
Bower will autodownload and install in the 2 next steps.
- Grunt
Grunt is an awesome Node.js module for performing essential automation tasks.
Install via NPM:
- npm install -g grunt-cli
- Eikon App Engine
OPR App runs based on Eikon App Server. For developemnt purpose, simulate local app server using grunt via step below
Installation You need GitHub account and permission. If not already have one, see Sign Up for GitHub.
- Open and login to GitHub, http://github.com
- After logged in, navigate to curve project https://github.com/thomsonreuters/quickcharts-curve
- Click Download ZIP button at lower-right to download quickcharts-curve.zip
- Extract the zip archive to somewhere in local drive (e.g. C:\option-pricer), this will be the root directory of your project
- Start Git Bash. See How to use Git
- Change directory to the root directory of your project (the one in step 4)
- Run git init command to convert into Git repository.
- Download/Prepare dependencies (both server-side and client-side) PS. Be able to run this command for the first time.
- Run "npm install" 10.Run "npm install -g grunt-cli" 11.Run "grunt prepare"
Setting Started 1. For development testing, open the command line in option-pricer repsitory Run grunt server-dev 2. For deployment testing, open the command line in option-pricer repsitory Run grunt deploy