You are on page 1of 8

Wells Fargo Startup Accelerator Deployment Document

Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 1 of 8 Last Review Date: 10/14/2013

Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 2 of 8 Last Review Date: 10/14/2013

Project Configuration Steps


1) Use java version 1.6 or above. Java version 1.7 used for different version, version needs to provide in <plugin><source> tag of pom.xml file 2) Install maven plugin in eclipse. Help->Eclipse Marketplace ->type maven in search window -> select " Maven Integration for Eclipse " by Eclipse.org 3) Download maven "apache-maven-3.0.5-bin.tar" from http://maven.apache.org/download.cgi and set environment variables for maven 4) Please refer following url for javacv setup. http://opencvlover.blogspot.in/2012/04/javacv-setup-with-eclipse-on-windows-7.html Here OpenCV-2.4.5 and javacv-0.5 is used and same provided in lib directory. Download OpenCV-2.4.5 and set environment variable. 5) Jar files are provided in lib directory.Place that jar in any where in machine. neuroph.jar (2.4 and 2.6) For ex. in "d:" directory Open your command prompt and type following command individually mvn install:install-file -Dfile=D:\neuroph.jar -DgroupId=org.neuroph -DartifactId=neuroph Dversion=2.6 -Dpackaging=jar mvn install:install-file -Dfile=D:\neuroph-2.4.jar -DgroupId=org.neuroph -DartifactId=neuroph Dversion=2.4 -Dpackaging=jar

For javacv 0.5 (depends on operating system type) 2


Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 3 of 8 Last Review Date: 10/14/2013

mvn install:install-file -Dfile=D:\javacv-bin\javacv.jar -DgroupId=com.googlecode.javacv DartifactId=javacv -Dversion=0.5 -Dpackaging=jar

mvn install:install-file -Dfile=D:\javacv-bin\javacv-android-arm.jar DgroupId=com.googlecode.javacv.cpp -DartifactId=javacv-android-arm -Dversion=0.5 -Dpackaging=jar mvn install:install-file -Dfile=D:\javacv-bin\javacv-linux-x86.jar -DgroupId=com.googlecode.javacv.cpp DartifactId=javacv-linux-x86 -Dversion=0.5 -Dpackaging=jar mvn install:install-file -Dfile=D:\javacv-bin\javacv-linux-x86_64.jar DgroupId=com.googlecode.javacv.cpp -DartifactId=javacv-linux-x86_64 -Dversion=0.5 -Dpackaging=jar

mvn install:install-file -Dfile=D:\javacv-bin\javacv-macosx-x86_64.jar DgroupId=com.googlecode.javacv.cpp -DartifactId=javacv-macosx-x86_64 -Dversion=0.5 Dpackaging=jar mvn install:install-file -Dfile=D:\javacv-bin\javacv-windows-x86.jar DgroupId=com.googlecode.javacv.cpp -DartifactId=javacv-windows-x86 -Dversion=0.5 -Dpackaging=jar mvn install:install-file -Dfile=D:\javacv-bin\javacv-windows-x86_64.jar DgroupId=com.googlecode.javacv.cpp -DartifactId=javacv-windows-x86_64 -Dversion=0.5 Dpackaging=jar

[Note : You can check these jar files in .m2 folder of your machine] 6) Import projects in eclipse as maven projects [ Provide nnet file location and directory path for image generation in message.properties file under src/main/resources of cardrecognizer and cardnumberrecognizer ]

Project Build Steps


3
Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 4 of 8 Last Review Date: 10/14/2013

1) To build the application we need to have Ant plugin in Eclipse. 2) build.xml file located at project root directory is used to build the application. 3) After building the application the WellFargoAccelerator.war gets created inside the dist directory located at project root directory.

Project Deployment Steps


First of all we need to have JDK 1.6 install on server and set it Enviroment variable path till bin directory C:\Program Files\Java\jdk1.6.0_43\bin; 1) For deploying the app Tomcat 7.0 Server need's to be installed on server. 2) Set the Enviromental Path of Tomcat bin directory on server.

Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 5 of 8 Last Review Date: 10/14/2013

3) Copy and Paste the war file in webapps directory present inside tomcat directory such as : C:\apache-tomcat-7.0.41\webapps

3) After pasting we can start the tomcat server through command prompt from bin directory of tomcat C:\apache-tomcat-7.0.41\bin>startup.bat We can also stop the tomcat server with below command C:\apache-tomcat-7.0.41\bin>shutdown.bat

4) When the tomcat server get start the war file gets extracted into directory.

Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 6 of 8 Last Review Date: 10/14/2013

Project Data base Deployment Steps


1) For setting up the database on server we need to install version MySQL 5.5 running on default port 3306. 2) Create a database name wfaccelator in mysql. 3) In the project root directory, within sql directory DDL.sql file is present.Execute the DDL.sql text for creating table inside wfaccelator database. 4) WF accelerator application is using 6 table explain below : companyanalysis:- It stores the company analysis detail of Company. Businessdetails:- It is storing the business details of company filled by Applicant. Productanalysis:- It stores the product detail of Company. Technology:- It stores the technology detail of Company.
Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 7 of 8 Last Review Date: 10/14/2013

Acceleratorfileinfo : - It contain the attachement document uploaded by applicant for company. Manageremail:- It stores the emails-id of wellsfargo viewer.Attachment are send to all emails-id present in this tables.

Project Repository Details


1) WfAccelerator Application is store on SVN at below location: https://svn1.liquidhub.com/svn/Wells_Fargo_PoC/trunk/WellFargoAccelerator Which can be retrieved with the help of Tortoise SVN installable Software.

Project Properties Config files detail


1) Send Mail Configuration can be done within config file present $tomcat installation directory \webapps\WellFargoAccelerator\WEB-INF\classes\com\bipin\utility\email\EmailCredential.properties. Below are the configuration which can be edited for future purpose, if WellsFargo is acquiring it's own SMTP server for Send Mail functionality. 7
EmailSmtpAutn=mail.smtp.auth EmailSmtpAutnValue=true EmailSmtpStarttlsEnable=mail.smtp.starttls.enable EmailSmtpStarttlsEnableValue=true EmailSMTPHost=mail.smtp.host EmailSMTPHostValue=smtp.gmail.com EmailSMTPPort=mail.smtp.port EmailSMTPPor=587 EmailId=wfaccelerator@gmail.com
Confidential & Proprietary This document is the property of Wells Fargo.

Wells Fargo Startup Accelerator Deployment Document


Department: Approval: Document Number: Original Issue Date: 10/14/2013 Page 8 of 8 Last Review Date: 10/14/2013

EmailPass=wellsfargotest

2) Database properties for configuration can be changed in file located at $tomcat installation directory\webapps\WellFargoAccelerator\WEB-INF\jdbc.properties
jdbc.driver=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/wfaccelator jdbc.user=root jdbc.password=byzan123

Confidential & Proprietary This document is the property of Wells Fargo.

You might also like