chore: Added needed packages to update DB stuff
This commit is contained in:
parent
fc6d737398
commit
8da87b1add
10
README.adoc
10
README.adoc
|
@ -9,4 +9,12 @@ Chirpy relies on a Postgres database (the database should be created first). Nee
|
||||||
* DB_URL: Postgres URL connection
|
* DB_URL: Postgres URL connection
|
||||||
* PLATFORM: dev, on purpose of the course
|
* PLATFORM: dev, on purpose of the course
|
||||||
* JWT_SECRET: can be generated using `openssl rand -base64 64`
|
* JWT_SECRET: can be generated using `openssl rand -base64 64`
|
||||||
* POLKA_KEY: predefined dummy API key used to illustrate webhook feature
|
* POLKA_KEY: predefined dummy API key used to illustrate webhook feature
|
||||||
|
|
||||||
|
In order to modify DB schema/queries additional libraries are also needed:
|
||||||
|
|
||||||
|
[source,shell]
|
||||||
|
----
|
||||||
|
$ go install github.com/pressly/goose/v3/cmd/goose@latest
|
||||||
|
$ go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
|
||||||
|
----
|
Loading…
Reference in New Issue
Block a user