OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
If you have determined that a bug is PostgreSQL specific, and it is easier to debug it interactively, first create the database as mentioned at local run as identical to deployment as possible and then:
OURBIGBOOK_POSTGRES=1 ./bin/generate-demo-data.js
OURBIGBOOK_POSTGRES=1 npm run dev
or shortcut for the run:
npm run dev-pg
Note that doing sync-db also requires NODE_ENV=production as in:
NODE_ENV=production OURBIGBOOK_POSTGRES=1 bin/sync-db.js
because we have to shell out to the ugly migration CLI, and that only understands NODE_ENV.

Ancestors (4)

  1. OurBigBook Web PostgreSQL
  2. OurBigBook Web development
  3. OurBigBook Web
  4. Home