- Install NodeJS
- Install
gulp
globally withnpm install -g gulp
- Install
bower
globally withnpm install -g bower
- In the js app folder
cd .\Gva.Web.App
- Install the required npm packages with
npm install
. Will install configured packages from\package.json
to\node_modules
. - Install the required bower components with
bower install
. Will install configured packages from\Gva.Web.App\bower.json
toGva\Common.Web.App\bower_components
- Build the js app with
gulp
. Will build and deploy it in \Gva.Web.Host\App
- Set Sql connection string in web.config to appropriate Sql authentication
- Deploy DB
- Run ~\Gva.Database\CreateAll.bat - to deploy DB schema and initial data
- Open the solution
Gva.sln
and run the web projectGva.Web.Host
- Make sure you have
java
accessible from yourPATH
2.1 Download chormedriver for selenium from http://chromedriver.storage.googleapis.com/index.html?path=2.8/ 2.2 Download IEDriverServer from https://code.google.com/p/selenium/downloads/detail?name=IEDriverServer_Win32_2.39.0.zip - Download selenium server from https://code.google.com/p/selenium/downloads/detail?name=selenium-server-standalone-2.39.0.jar
- Add a new environment variable
SELENIUM_PATH
with value - the path to the folder in which you have put selenium server and chormedriver - Run
grunt test
(grunt test-ie
for IE) - Add a new environment variable
GVA_PATH
with value - the path to the folder containing the project
- Install
node-inspector
globally withnpm install -g node-inspector
- Run the tests with
node --debug-brk c:\Users\username\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt test
whereusername
is your current user - Run
node-inspector
in a separate command prompt - Open the url that that inspector is showing in Chrome(e.g. http://127.0.0.1:8080/debug?port=5858)
- See Debugging Protractor Tests for more info.
- Download and extract ODAC121012Xcopy_x64.zip from http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
- Go to
.\path\to\extraction\folder
- Execute
install.bat all c:\oracle odac
from the Command Prompt (installation folder is of your choice) - Add the following to your PATH environment variable
c:\oracle\;c:\oracle\bin\;
- Run Custom Tool
.\Gva.Database\CreateAll.tt
- Run the
.\Gva.MigrationTool
project
- Install Ghostscript platform from http://www.ghostscript.com/download/gsdnld.html