Skip to content

B: Deployment for Local Development

dcox-nmdp edited this page May 31, 2017 · 1 revision

Grab the Code

Clone the repository:
This command copies all of the files from the service-epitope repository on to your machine and stores them in their own directory.

git clone https://github.com/nmdp-bioinformatics/service-epitope.git

Build the project

Maneuver to the directory that was created for you upon issuing the git clone command. In this case service-epitope.

cd service-epitope

From there, issue the following command.

# clean: removes previous target directory
# install: builds the service in new target directory
mvn clean install

Run the service

Issue the following command to run the service on your machine.

java -jar dropwizard/target/epitope-dropwizard-0.0.2-SNAPSHOT.jar server dropwizard/src/main/resources/internal.yml

The service will then be accessible at http://localhost:48080/

Clone this wiki locally