From fd1bf720fc7bd0e4ebcc58b53c17bd1b18d50c1d Mon Sep 17 00:00:00 2001 From: yinhao Date: Tue, 12 Jul 2022 08:38:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=9A=94=E7=A6=BB=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + backend-src/pom.xml | 24 +++++++++++++++++++ .../src/main/resources/application.yaml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9bdd3ba..dbf41b2 100644 --- a/.gitignore +++ b/.gitignore @@ -113,3 +113,4 @@ backend-src/src/main/resources/static/ front-src/* admin/build /backend-src/docker.iml +/backend-src/src/main/resources/application-local.yaml diff --git a/backend-src/pom.xml b/backend-src/pom.xml index c005fde..ecf9920 100644 --- a/backend-src/pom.xml +++ b/backend-src/pom.xml @@ -160,6 +160,30 @@ + + + local + + local + + + true + + + + dev + + dev + + + + prod + + prod + + + + diff --git a/backend-src/src/main/resources/application.yaml b/backend-src/src/main/resources/application.yaml index caf4dfc..d769067 100644 --- a/backend-src/src/main/resources/application.yaml +++ b/backend-src/src/main/resources/application.yaml @@ -1,3 +1,3 @@ spring: profiles: - active: dev \ No newline at end of file + active: @profile.active@ \ No newline at end of file -- Gitee From c855045c1c5bae88c2c4618f8dca9f5b4be7b06d Mon Sep 17 00:00:00 2001 From: yinhao Date: Tue, 12 Jul 2022 08:42:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4.idea=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend-src/.gitignore | 104 ++++++++++++++++ backend-src/.idea/workspace.xml | 208 -------------------------------- 2 files changed, 104 insertions(+), 208 deletions(-) create mode 100644 backend-src/.gitignore delete mode 100644 backend-src/.idea/workspace.xml diff --git a/backend-src/.gitignore b/backend-src/.gitignore new file mode 100644 index 0000000..87159db --- /dev/null +++ b/backend-src/.gitignore @@ -0,0 +1,104 @@ +# Created by .ignore support plugin (hsz.mobi) +### macOS template +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +**/.idea +**/target diff --git a/backend-src/.idea/workspace.xml b/backend-src/.idea/workspace.xml deleted file mode 100644 index fde92d4..0000000 --- a/backend-src/.idea/workspace.xml +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1638631623644 - - - - - - - - - - - - - - - file://$PROJECT_DIR$/src/main/java/com/example/simpledocker/ws/ContainerTerminalWebSocket.java - 100 - - - - - - -