For building and running the application you need:
If you're behind a proxy, you can configure it in the application.properties
file.
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the zengin.serkan.countrydemo.CountrydemoApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
Below comand creates a jar file under the target directory that can be used to run the application.
mvn package
Copy the jar file to the remote server and execute the following command:
java -jar countrydemo-0.0.1-SNAPSHOT.jar