Skip to content

sesac-dataops/sample-admin

Repository files navigation

Admin

This is only made for SeSAC Hybrid Cloud DataOps

Development

When starting the application docker compose up is called and the app will connect to the contained services. Docker must be available on the current system.

During development it is recommended to use the profile local. In IntelliJ -Dspring.profiles.active=local can be added in the VM options of the Run Configuration after enabling this property in "Modify options". Create your own application-local.yml file to override settings for development.

Lombok must be supported by your IDE.

After starting the application it is accessible under localhost:8080.

Build

The application can be tested and built using the following command:

gradlew clean build

Start your application with the following command - here with the profile production:

java -Dspring.profiles.active=production -jar ./build/libs/admin-0.0.1-SNAPSHOT.jar

If required, a Docker image can be created with the Spring Boot plugin. Add SPRING_PROFILES_ACTIVE=production as environment variable when running the container.

gradlew bootBuildImage --imageName=io.sesac/admin

Further readings

About

Terraform 프로비저닝 실습용 웹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published