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

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
 			<artifactId>spring-boot-starter-data-jpa</artifactId>
30
 			<artifactId>spring-boot-starter-data-jpa</artifactId>
31
 		</dependency>
31
 		</dependency>
32
 		<dependency>
32
 		<dependency>
33
-			<groupId>mysql</groupId>
34
-			<artifactId>mysql-connector-java</artifactId>
35
-		</dependency>
36
-		<dependency>
37
 			<groupId>org.springframework.boot</groupId>
33
 			<groupId>org.springframework.boot</groupId>
38
 			<artifactId>spring-boot-starter-data-rest</artifactId>
34
 			<artifactId>spring-boot-starter-data-rest</artifactId>
39
 		</dependency>
35
 		</dependency>
51
 		</dependency>
47
 		</dependency>
52
 
48
 
53
 		<dependency>
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
 		</dependency>
52
 		</dependency>
58
 		<dependency>
53
 		<dependency>
59
 			<groupId>org.springframework.boot</groupId>
54
 			<groupId>org.springframework.boot</groupId>
60
 			<artifactId>spring-boot-starter-test</artifactId>
55
 			<artifactId>spring-boot-starter-test</artifactId>
61
 			<scope>test</scope>
56
 			<scope>test</scope>
62
 		</dependency>
57
 		</dependency>
58
+		<dependency>
59
+			<groupId>org.springframework.boot</groupId>
60
+			<artifactId>spring-boot-starter-jdbc</artifactId>
61
+		</dependency>
62
+
63
+
63
 	</dependencies>
64
 	</dependencies>
64
 
65
 
65
 	<build>
66
 	<build>

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

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