-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Lottery) : init lottery application and env name
- Loading branch information
1 parent
c33f43b
commit f93dea9
Showing
2 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
10 changes: 4 additions & 6 deletions
10
...ootcamp/posttest/PosttestApplication.java → ...om/kbtg/bootcamp/lottery/Application.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
package com.kbtg.bootcamp.posttest; | ||
package com.kbtg.bootcamp.lottery; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class PosttestApplication { | ||
|
||
public class Application { | ||
public static void main(String[] args) { | ||
SpringApplication.run(PosttestApplication.class, args); | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
server.port=8081 | ||
spring.datasource.url=jdbc:postgresql://localhost:5432/<YOUR_DATABASE_NAME> | ||
spring.datasource.username=<YOUR_USERNAME> | ||
spring.datasource.password=<YOUR_PASSWORD> | ||
spring.jpa.hibernate.ddl-auto=<create | create-drop | update | validate | none> | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | ||
server.port=8888 | ||
spring.datasource.url=${DATABASE_URL} | ||
spring.datasource.username=lottery | ||
spring.datasource.password=Plottery001!@# | ||
#spring.jpa.hibernate.ddl-auto=<create | create-drop | update | validate | none> | ||
spring.jpa.hibernate.ddl-auto=validate | ||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | ||
|
||
spring.security.user.name=kamusername | ||
spring.security.user.password=kampassword | ||
logging.level.org.springframework.security=DEBUG |