1
0
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:
Jari Bakken 2014-10-23 14:14:55 +02:00 committed by Ivar Conradi Østhus
parent 11865c7612
commit d727995959

View File

@ -30,10 +30,12 @@ npm test
5. Generate LB artifact using `scripts/generate-liquibase-artifact` (TODO: make this internal)
### Create a local unleash-db on postgres
´´´sql
´´´bash
$ psql postgres <<SQL
CREATE USER unleash_user WITH PASSWORD 'passord';
CREATE DATABASE unleash;
GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
SQL
´´´
Then set up your DATABASE_URI env.var: