-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration & Execution
Gaurav Sharma edited this page Nov 8, 2018
·
1 revision
When you first run the application following folder structure should be created.
- /usr/local/var/rest-lambda/Logs
- /usr/local/var/rest-lambda/Configuration
Set user.user1, password.user1 in application.properties.
& Use vm option -Dspring.profiles.active=SecurityOn
Natively -
- Clone the project and run ./gradlew build bootJar
- java -Dserver.port=port -jar build/libs/rest-lambda-version-number.jar eg - java -Dserver.port=9090 -jar build/libs/rest-lambda-1.0.jar
Docker -
- Clone the project and run ./gradlew copyJarForDocker
- cd ../rest-lambda/
- docker-compose up
- http://localhost:9091/lambda/get/execute/alias