document database setup

This commit is contained in:
data 2019-06-23 11:53:12 -04:00
parent 5f415bb23e
commit bab9fd5efa

View File

@ -0,0 +1,13 @@
you need postgres!
- localhost needs to be trusted
```
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
```
- create a user
`sudo -u postgres createuser --interactive`
- database: tasks-mockup
`createdb tasks-backend`
- seed database
`npm run seed`