Skip to content

Configuration & Execution

Gaurav Sharma edited this page Nov 8, 2018 · 1 revision

How to use

When you first run the application following folder structure should be created.

  • /usr/local/var/rest-lambda/Logs
  • /usr/local/var/rest-lambda/Configuration

Setup security

Set user.user1, password.user1 in application.properties.

& Use vm option -Dspring.profiles.active=SecurityOn

Executing rest-lambda

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 this wiki locally