From 795d6bce35c58f4cf9a8b5fa2aeedf991bf35378 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 30 Dec 2018 14:50:51 -0800 Subject: [PATCH] docs: add some more contributing instructions (#861) [skip ci] --- CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4292f946..879ee94d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,6 +49,14 @@ Run tests for a particular browser: BROWSER=safari npm run test-browser BROWSER=edge npm run test-browser +If the script isn't able to set up the Postgres database, try running: + + sudo su - postgres + +Then: + + psql -d template1 -c "CREATE USER pinafore WITH PASSWORD 'pinafore' CREATEDB;" + ### Testing in development mode In separate terminals: