Skip to content

dandoman/MetricsBackendMonolith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps:

Build war: mvn clean compile package test -P ${env} (dev/uat/staging/prod)

Run locally: mvn tomcat7:run

Deploy to server:

On server: rm ~/MetricsService.war rm -rf /usr/share/tomcat7/webapps/MetricsService* sudo cp ~/Metricservice.war /usr/share/tomcat7/webapps/ sudo chown ec2-user /usr/share/tomcat7/webapps/MetricsService.war sudo rm -rf /usr/share/tomcat7/webapps/MetricsService

*Connect to db with psql

psql -d integ -U integ -h integ.cezc1rn98646.us-west-2.rds.amazonaws.com -W

*Run metric creator: mvn exec:java -Dexec.mainClass="com.cante.metrics.scripts.MetricCreator"

Note that all db credentials in the source are no longer valid which is why we elected to leave them there when making this repo public

About

Multi Environment config example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages