Skip to content

Commit 013faae

Browse files
authored
feat: .env 파일 사용 (#196)
1 parent d3439b8 commit 013faae

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

.gemini/styleguide.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
# Copilot instructions
2-
31
- You must respond in Korean for all answers, regardless of the input language.
42
- Do not write any comments in code blocks, even if asked to do so.
53
- Do not use wildcard when importing libraries
64
- When you write reviews for pull request, specific review will very helpful for my team.
75
- Suggest based on logical reasons.
86

9-
## Commenting Convention
10-
117
- Comments should be written in a single line whenever possible.
128
- Each comment must include the author's name and the date.
139
- Use IntelliJ's default `FIX ME` comment format.
1410
- Use this for parts of the code where there may be a potential issue but immediate exception handling is unnecessary.
1511
- Also use this for parts that are not yet finalized due to unclear business requirements.
1612

17-
## Test Code Convention
18-
1913
- Test method names must be written in **English**.
2014
- But if the codes is related to test, write the comment for "given, when, then".
21-
22-
Please follow these conventions when reviewing or suggesting changes to the code.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ out/
4141

4242
### Docker Tar files ###
4343
/eat-ssu.tar
44+
45+
### env file ###
46+
.env

src/main/resources/application.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
spring:
22
profiles:
33
active: local
4+
config:
5+
import: optional:file:.env[.properties]
46

57
user:
68
forbidden-nicknames:

src/test/resources/application.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
spring:
22
profiles:
3-
active: test
3+
active: test
4+
config:
5+
import: optional:file:.env[.properties]

0 commit comments

Comments
 (0)