AAFC-BICoE/hpdb

Name: hpdb

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Description: Agriculture and Agri-Food Canada?s (AAFC) internally developed Host Pathogen Database Web Application (hpdb) has been created to give access to the AAFC curated Canadian Host-Pathogen Database. The application currently allows the searching of Host Records, Pathogen Records and Host-Pathogen Records.

Created: 2016-02-07 17:57:35.0

Updated: 2016-11-07 18:38:48.0

Pushed: 2016-11-07 18:38:45.0

Homepage:

Size: 665

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Host Pathogen Database Web Application Build Status

Agriculture and Agri-Food Canada?s (AAFC) internally developed Host Pathogen Database Web Application (hpdb) has been created to give access to the AAFC curated Host-Pathogen Database. The application currently allows the searching of Host Records, Pathogen Records and Host-Pathogen Records.

Required Software
Oracle Java 8
MySQL 5.6
Maven 3.2.5+
Tomcat 7
Installation

From the command line:

$ git clone https://github.com/AAFC-MBB/hpdb.git
$ cd hpdb
$ mvn install

If the build was successful the project tests have run and sample data has been loaded into the mysql database.

Running in Development
$ mvn jetty:run -Dmaven.test.skip=true

The web application should now be running at http://localhost:8080

Importing Data

To import the MS Access database csv files into the mysql database:

$ mysql -u USERNAME -p PASSWORD hpdbweb < /Importer/import_script.sql
Packaging for Deployment
$ mvn package -Dmaven.test.skip=true 

This will create hpdb.war which you can insert into your container application.

Contact
Project Group email: mbb@agr.gc.ca
Project Developer: Satpal Bilkhu - Satpal.Bilkhu@agr.gc.ca

Host Pathogen Database Web Application Build Status

Agriculture and Agri-Food Canada?s (AAFC) internally developed Host Pathogen Database Web Application (hpdb) has been created to give access to the AAFC curated Host-Pathogen Database. The application currently allows the searching of Host Records, Pathogen Records and Host-Pathogen Records.

Required Software
Oracle Java 8
MySQL 5.6
Maven 3.2.5+
Tomcat 7
Installation

From the command line:

$ git clone https://github.com/AAFC-MBB/hpdb.git
$ cd hpdb
$ mvn install

If the build was successful the project tests have run and sample data has been loaded into the mysql database.

Running in Development
$ mvn jetty:run -Dmaven.test.skip=true

The web application should now be running at http://localhost:8080

Importing Data

To import the MS Access database csv files into the mysql database:

$ mysql -u USERNAME -p PASSWORD hpdbweb < /Importer/import_script.sql
Packaging for Deployment
$ mvn package -Dmaven.test.skip=true 

This will create hpdb.war which you can insert into your container application.

Contact
Project Group email: mbb@agr.gc.ca
Project Developer: Satpal Bilkhu - Satpal.Bilkhu@agr.gc.ca

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.