Home
Welcome to the igamt wiki! The wiki provided instructions on how to set up the development environment for the IGAMT tool. The instructions have been tested only mac os only.
The tool is developed using the following technologies:
- Spring 4
- Hibernate
- MySQL DB
- Maven for build and dependency management
- Angular JS
- Bower
- Grunt
- Twitter Bootstrap
- Install tomcat
- Install mongo db
brew install mongodb
- Create mongodb new database called 'igl'
- Edit $TOMCAT_HOME/conf/context.xml
- Add the following line at the bottom of :
<Resource name="jdbc/igl_mongo" auth="Container"
type="com.mongodb.MongoCredential"
factory="gov.nist.healthcare.tools.hl7.v2.igamt.lite.web.config.CustomMongoJNDIFactory"
host="localhost" db="igl" username="igl-user" password="igl" port="27017"/>
- Start mongodb server
- Install mysql mysql db
- Create user with username of your choice
- Edit $TOMCAT_HOME/conf/context.xml
- Add the following line inside :
<Resource name="jdbc/igl_jndi"
auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="XX" password="XX"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/igl"
/>
Make sure 'XX' match the values in your mysql configuraiton. 5. Load the scripts at /igamt/igamt-lite-resource/docs/igl.sql into your mysql db.
- Install nodejs: https://nodejs.org/
- Install grunt and grunt-cli: http://gruntjs.com/getting-started
- Navigate to igamt/igamt-lite-client
- Run
npm install
- Run
bower install
- Run
grunt build
. This will build the client and export to igamt/igamt-lite-controller/webapps/ - Start grunt and test grunt serve http://localhost:9000/#/home
-
vocabServiceClient
Location: igamt-lite-service/lib/vocabServiceClient-1.0.jar
Install Script:
mvn install:install-file -Dfile=<Local Path to vocabServiceClient-1.0.jar> -DgroupId=gov.cdc.phinvads \
-DartifactId=vocabServiceClient -Dversion=1.0 -Dpackaging=jar