Skip to content

Commit 90423eb

Browse files
authored
Merge pull request #7 from hossain-khan/readme-update-with-blog
Update README.md
2 parents ac497a8 + 59dbe32 commit 90423eb

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ A sample project exercising PostgreSQL with SQLDelight 2.0 on JVM
44

55
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.
66

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)
17+
18+
## 📚 Resources
819
* https://cashapp.github.io/sqldelight
920
* https://jdbc.postgresql.org/documentation/use/

0 commit comments

Comments
 (0)