You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,17 @@ A sample project exercising PostgreSQL with SQLDelight 2.0 on JVM
4
4
5
5
This is an exploration of the official guide at https://cashapp.github.io/sqldelight/2.0.0/jvm_postgresql/ with the intention of filling in missing pieces.
6
6
7
-
### Resources
7
+
## ✍️ Blog
8
+
See [blog post](https://medium.com/@hossainkhan/using-sqldelight-2-0-with-postgresql-for-jvm-10e749093a82) on medium for quick guide and explanation.
9
+
10
+
## 🚗 Test Drive
11
+
To run the sample app, you need to do the following
12
+
1. Git clone the repo
13
+
1. Rename/copy `sample-local.properties` into `local.properties`
14
+
i. Update all app configurations like `db_host`, `db_password`, and so on
15
+
1. Create the database with the name that matches `db_name` config
16
+
1. Run app from [`Main.kt`](https://github.com/hossain-khan/SQLDelight-PostgreSQL-JVM-sample/blob/main/src/main/kotlin/dev/hossain/postgresqldelight/Main.kt)
0 commit comments