Pārlūkot izejas kodu

Merge pull request #3 from xt0fer/heroku-pg

Heroku pg
KrYounger 6 gadus atpakaļ
vecāks
revīzija
ed175e1482
Revīzijas autora e-pasts nav piesaistīts nevienam kontam

+ 1
- 0
Procfile Parādīt failu

@@ -0,0 +1 @@
1
+web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/throwup-thursday-0.0.1-SNAPSHOT.jar

+ 0
- 0
application.properties Parādīt failu


+ 8
- 7
pom.xml Parādīt failu

@@ -30,10 +30,6 @@
30 30
 			<artifactId>spring-boot-starter-data-jpa</artifactId>
31 31
 		</dependency>
32 32
 		<dependency>
33
-			<groupId>mysql</groupId>
34
-			<artifactId>mysql-connector-java</artifactId>
35
-		</dependency>
36
-		<dependency>
37 33
 			<groupId>org.springframework.boot</groupId>
38 34
 			<artifactId>spring-boot-starter-data-rest</artifactId>
39 35
 		</dependency>
@@ -51,15 +47,20 @@
51 47
 		</dependency>
52 48
 
53 49
 		<dependency>
54
-			<groupId>org.hsqldb</groupId>
55
-			<artifactId>hsqldb</artifactId>
56
-			<scope>runtime</scope>
50
+			<groupId>org.postgresql</groupId>
51
+			<artifactId>postgresql</artifactId>
57 52
 		</dependency>
58 53
 		<dependency>
59 54
 			<groupId>org.springframework.boot</groupId>
60 55
 			<artifactId>spring-boot-starter-test</artifactId>
61 56
 			<scope>test</scope>
62 57
 		</dependency>
58
+		<dependency>
59
+			<groupId>org.springframework.boot</groupId>
60
+			<artifactId>spring-boot-starter-jdbc</artifactId>
61
+		</dependency>
62
+
63
+
63 64
 	</dependencies>
64 65
 
65 66
 	<build>

+ 1
- 1
src/main/java/com/example/throwupthursday/ThrowupThursdayApplication.java Parādīt failu

@@ -3,7 +3,7 @@ package com.example.throwupthursday;
3 3
 import org.springframework.boot.SpringApplication;
4 4
 import org.springframework.boot.autoconfigure.SpringBootApplication;
5 5
 
6
-//
6
+// simple,simple, simple.
7 7
 
8 8
 @SpringBootApplication
9 9
 public class ThrowupThursdayApplication {