NSF Sponsored DataBridge Project
For more information see https://databridge.web.unc.edu
To Clone:
From a command line, run:
git clone https://github.com/HowardLander/DataBridge.git
or, on a windows machine:
download github for windows http://windows.github.com/
search for repository HowardLander/DataBridge and clone from there
To Install (requires maven):
run the command:
mvn compile
in each of the following directories:
DataBridge/server/ DataBridge/network/BigData/XMLSim/
(you should see a pom.xml in each of these directories)
information for setting up maven on windows can be found here: http://maven.apache.org/guides/getting-started/windows-prerequisites.html
To Run:
To run Xing's distance generation code, use the following command from the XMLSim directory:
mvn -e exec:java -D exec.mainClass=xmlsim.XMLSim
This class currently operates on an XML file, the location of which is hardcoded
To run Ren's rabbitMQ listening server:
First, a rabbitMQ server must be running, for information on how to set up a rabbitMQ server go to http://www.rabbitmq.com/download.html
next, use the following command from the server directory
mvn -e exec -D mainClass=org.renci.databridge.mhandling.RMQListener
To Test:
Xing's code can be tested using the following command from the XMLSim directory:
mvn test -Dtest=similarity.MeasureTest
Howard's network classes and Ren's code can be tested using the following command from the server directory:
mvn test
for more information on tests please see 'test_readme.txt' in the server directory