Skip to content

gperrio/conference-application

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickstart

Prerequisites:

# MySQL 
docker run --name javalandDB -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=app -p 3306:3306 -d mysql

For running the app incl. the Spring Boot Admin client use the following commands.

# Start monitoring app
cd monitoring
mvn clean install
java -jar target/monitoring*.jar

# Start conference-app with environment configuration
cd conference-app
mvn clean install
java -jar -Dspring.config.location=config/production.properties target/conference-app*.war
java -jar -Dspring.config.location=config/staging.properties target/conference-app*.war
java -jar -Dspring.config.location=config/test.properties target/conference-app*.war

For demo reasons we start the app three times with different ports. In your spring admin client web app you should see three versions of the conference app.

You can access the conference apps under:

Environment Link
Test http://localhost:8080
Staging http://localhost:8081
Production http://localhost:8082
Monitoring http://localhost:8888

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 96.3%
  • Shell 1.7%
  • HTML 1.3%
  • Other 0.7%