Setup the database:
web/bin/pg-setup ourbigbook2
OURBIGBOOK_DB_NAME=ourbigbook2 web/bin/pg web/bin/generate-demo-data.jsRun the server:
OURBIGBOOK_DB_NAME=ourbigbook2 npm run dev-pgOr commonly to run on a different port so that two instances may be accessed separately:
PORT=3001 OURBIGBOOK_DB_NAME=ourbigbook2 npm run dev-pgTo restore a dump to the secondary database:
web/bin/pg_restore -d ourbigbook2 latest.dump