How to Develop Locally
Instructions for how to develop the DMC Locally
How to do a local Deployment
- While in the restservices folder on your local machine do a git pull
- Command: git pull
- Next run the command: mvn package -P swagger
- Next go to the target folder within restservices
- Location will be: *restservice/target
- Change the war file name to rest.war
- Make note of the file location
- Go to the following location on your computer: /var/lib/tomcat7/webapps
- If there already exists a rest.war file there, delete it.
- Now move the rest.war file from the previous location to this one
- Now run the command: sudo service tomcat7 start
- Open a web browser and go to localhost:8080
Related articles