mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-05 00:22:48 +00:00
11 lines
322 B
Bash
11 lines
322 B
Bash
#!/bin/bash
|
|
echo "Navigating to the application directory..."
|
|
cd /home/ec2-user/spring-petclinic
|
|
|
|
echo "Building the application using Maven..."
|
|
mvn clean package -DskipTests
|
|
|
|
echo "Starting the Spring Boot application..."
|
|
java -jar target/spring-petclinic-*.jar > app.log 2>&1 &
|
|
echo "Application started successfully!"
|
|
|