-
Notifications
You must be signed in to change notification settings - Fork 0
Database
Tom edited this page Aug 19, 2020
·
2 revisions
Postgres can be started by running
docker-compose up -d
in the root directory of the server. All data should be persisted between runs.
gpAdmin is a management gui for postgres that may make development easier. If desired it can be accessed on localhost:8089
when the docker container is setup. Then, add a server with the following details
name: onboard
host: db
port: 5432
username: onboard
password: y@yCKiL2oUmJ
Well that's a shame... However, a typical install of Postgres (e.g. via pacman -Sy postgres
) should work provided the configuration matches that in the ormconfig.js
.
To seed the database run yarn db:seed
.
OnBoard © 2020