How to Develop Locally

Instructions for how to develop the DMC Locally

How to do a local Deployment

  1. While in the restservices folder on your local machine do a git pull
    1. Command: git pull
  2. Next run the command: mvn package -P swagger
  3. Next go to the target folder within restservices
    1. Location will be: *restservice/target
  4. Change the war file name to rest.war
    1. Make note of the file location
  5. Go to the following location on your computer: /var/lib/tomcat7/webapps
    1. If there already exists a rest.war file there, delete it.
  6. Now move the rest.war file from the previous location to this one
  7. Now run the command: sudo service tomcat7 start
  8. Open a web browser and go to localhost:8080