Skip to content

Commit 8e84872

Browse files
authored
Merge pull request Baeldung#18 from Maiklins/Java-2051-Issues-in-stackify-repository
Java-2051 Add readme file
2 parents e04884d + 63eb9bf commit 8e84872

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

spring-boot-app/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Building and running the application
2+
3+
## Option 1
4+
``mvn clean install``\
5+
``mvn spring-boot:run``
6+
7+
## Option 2
8+
``mvn package spring-boot:repackage``\
9+
``java -Dspring.profiles.active=default -jar target/spring-boot-app-0.0.1-SNAPSHOT.war``
10+
11+
# Accessing the application
12+
http://localhost:8081/springbootapp/employees

0 commit comments

Comments
 (0)