Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ae8ffcb

Browse files
committed
Uses Heroku PostgreSQL Database and Hibernate and Local Dev profile
1 parent 6bf895c commit ae8ffcb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/resources/application-dev.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
2+
## Local Dev connection to DB in a Dev Profile:
3+
## mvn spring-boot:run -Dspring.profiles.active=dev
24
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres_demo
35
spring.datasource.username= postgres
46
spring.datasource.password= password
57

8+
## Connection to Heroku PostgreSQL Databae
69
#spring.datasource.url=${JDBC_DATABASE_URL}
710
#spring.datasource.username=${JDBC_DATABASE_USERNAME}
811
#spring.datasource.password=${JDBC_DATABASE_PASSWORD}

src/main/resources/application.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
2+
## Local Dev connection to DB in a Dev Profile:
3+
## mvn spring-boot:run -Dspring.profiles.active=dev
24
#spring.datasource.url=jdbc:postgresql://localhost:5432/postgres_demo
35
#spring.datasource.username= postgres
46
#spring.datasource.password= password

0 commit comments

Comments
 (0)