From 496394dac137a19eea366ce1a7f6249368da3256 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Tue, 21 Apr 2020 09:50:48 +0200 Subject: [PATCH 1/3] Add Compose run config for IDEA --- .../.idea/runConfigurations/Run_Compose.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 backend/.idea/runConfigurations/Run_Compose.xml diff --git a/backend/.idea/runConfigurations/Run_Compose.xml b/backend/.idea/runConfigurations/Run_Compose.xml new file mode 100644 index 0000000..d69f9c6 --- /dev/null +++ b/backend/.idea/runConfigurations/Run_Compose.xml @@ -0,0 +1,19 @@ + + + + + + + + + + \ No newline at end of file From 2c7418529b32663e9264e5ce6b6a3add215e70d7 Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Tue, 21 Apr 2020 11:22:03 +0200 Subject: [PATCH 2/3] Add dev and prod profile, Add MariaDB connector Prod is default Add IDEA Run Configs for DEV (IDEA) and PROD (Docker-Compose) --- .../{GeotimeApplication.xml => GeotimeApplication__DEV_.xml} | 3 ++- .../{Run_Compose.xml => Run_Compose__PROD_.xml} | 2 +- backend/build.gradle | 1 + backend/src/main/resources/application-dev.properties | 0 backend/src/main/resources/application-prod.properties | 5 +++++ backend/src/main/resources/application.properties | 3 ++- docker-compose.yml | 4 +++- 7 files changed, 14 insertions(+), 4 deletions(-) rename backend/.idea/runConfigurations/{GeotimeApplication.xml => GeotimeApplication__DEV_.xml} (63%) rename backend/.idea/runConfigurations/{Run_Compose.xml => Run_Compose__PROD_.xml} (81%) create mode 100644 backend/src/main/resources/application-dev.properties create mode 100644 backend/src/main/resources/application-prod.properties diff --git a/backend/.idea/runConfigurations/GeotimeApplication.xml b/backend/.idea/runConfigurations/GeotimeApplication__DEV_.xml similarity index 63% rename from backend/.idea/runConfigurations/GeotimeApplication.xml rename to backend/.idea/runConfigurations/GeotimeApplication__DEV_.xml index 81f70ed..f75a135 100644 --- a/backend/.idea/runConfigurations/GeotimeApplication.xml +++ b/backend/.idea/runConfigurations/GeotimeApplication__DEV_.xml @@ -1,7 +1,8 @@ - +