Skip to content

Commit 43b289c

Browse files
committed
devops
1 parent 7e84d3a commit 43b289c

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Procfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
web: java $JAVA_OPTS -Dspring.profiles.active=heroku -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
1+
#web: java $JAVA_OPTS -Dspring.profiles.active=heroku -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
2+
web: java $JAVA_OPTS -Dspring.profiles.active=heroku -jar target/dependency/webapp-runner.jar --port $PORT target/*.war

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@
720720
<artifactId>spring-boot-maven-plugin</artifactId>
721721
<configuration>
722722
<profiles>
723-
<profile>heroku</profile>
723+
<profile>default</profile>
724724
</profiles>
725725
</configuration>
726726
<executions>

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function runHerokuLocal() {
1515
}
1616

1717
function runDev() {
18-
./mvnw
18+
./mvnw clean install
1919
}
2020

2121
function main() {

src/main/resources/application.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ server:
77
min-response-size: 2048
88
spring:
99
datasource:
10-
url: jdbc:postgresql://localhost:5432/simpleworklist
10+
url: jdbc:postgresql://localhost:5432//simpleworklist
1111
username: simpleworklist
1212
password: simpleworklistpwd
1313
driverClassName: org.postgresql.Driver
@@ -86,12 +86,12 @@ org:
8686
spring:
8787
profiles: default
8888
datasource:
89-
url: jdbc:postgresql://localhost:5433/simpleworklist
89+
url: jdbc:postgresql://localhost:5432/simpleworklist
9090
---
9191
spring:
9292
profiles: developing
9393
datasource:
94-
url: jdbc:postgresql://localhost:5433/simpleworklist_developing
94+
url: jdbc:postgresql://localhost:5432/simpleworklist_developing
9595
jpa:
9696
hibernate:
9797
ddl-auto: update
@@ -100,7 +100,7 @@ spring:
100100
spring:
101101
profiles: travis
102102
datasource:
103-
url: jdbc:postgresql://localhost:5433/simpleworklist_travis
103+
url: jdbc:postgresql://localhost:5432/simpleworklist_travis
104104
continue-on-error: true
105105
jpa:
106106
show-sql: false
@@ -114,7 +114,7 @@ server:
114114
spring:
115115
profiles: testing
116116
datasource:
117-
url: jdbc:postgresql://localhost:5433/simpleworklist_testing
117+
url: jdbc:postgresql://localhost:5432/simpleworklist_testing
118118
jpa:
119119
show-sql: false
120120
hibernate:
@@ -150,7 +150,7 @@ logging:
150150
spring:
151151
profiles: qa
152152
datasource:
153-
url: jdbc:postgresql://localhost:5433/simpleworklist_qa
153+
url: jdbc:postgresql://localhost:5432/simpleworklist_qa
154154
continue-on-error: true
155155
jpa:
156156
show-sql: false
@@ -187,7 +187,7 @@ logging:
187187
spring:
188188
profiles: heroku
189189
datasource:
190-
url: jdbc:postgresql://localhost:5433/simpleworklist_heroku
190+
url: jdbc:postgresql://localhost:5432/simpleworklist_heroku
191191
continue-on-error: true
192192
jpa:
193193
show-sql: false

0 commit comments

Comments
 (0)