-
Notifications
You must be signed in to change notification settings - Fork 1
Developer: How to run SESAR REST API app
Sean Cao edited this page Aug 10, 2021
·
6 revisions
Right click on the project name 'sesar-rest-app', the submenu will popup, click 'Run as', then click 'Spring Boot app'. The application will run with embedded tomcat plugin for STS on the port 8080 by default.

Select SesarRestApiApplication on the popup window,then click 'Ok'.

You can see a lot print outs on the console window. See below. From the messages, you can see tomcat is started on port 8080.

docker images | grep sesar-rest-api --> make sure sesar-rest-api-0.0.9 is created.
cd where_the_sesar_rest_api_source_code_directory
ls docker-compose.yml --> make sure this file exists
docker-compose up
If you are using Windows OS, you will need to change the $PWD within the docker-compose.yml to the sesar-rest-api directory or your preferred volume location
assume tomcat is installed on $TOMCAT_DIR
cd where_the_sesar_rest_api_source_code_directory
cp sesar-rest-api-0.0.9.war $TOMCAT_DIR/webapps
cd $TOMCAT_DIR/bin
./startup.sh