mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Change example to use psql
This commit is contained in:
parent
11865c7612
commit
d727995959
@ -30,10 +30,12 @@ npm test
|
|||||||
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
|
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
|
||||||
|
|
||||||
### Create a local unleash-db on postgres
|
### Create a local unleash-db on postgres
|
||||||
´´´sql
|
´´´bash
|
||||||
|
$ psql postgres <<SQL
|
||||||
CREATE USER unleash_user WITH PASSWORD 'passord';
|
CREATE USER unleash_user WITH PASSWORD 'passord';
|
||||||
CREATE DATABASE unleash;
|
CREATE DATABASE unleash;
|
||||||
GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
|
GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
|
||||||
|
SQL
|
||||||
´´´
|
´´´
|
||||||
|
|
||||||
Then set up your DATABASE_URI env.var:
|
Then set up your DATABASE_URI env.var:
|
||||||
|
Loading…
Reference in New Issue
Block a user