docs: add some more contributing instructions (#861)

[skip ci]
This commit is contained in:
Nolan Lawson 2018-12-30 14:50:51 -08:00 committed by GitHub
parent 52d1ab5703
commit 795d6bce35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,14 @@ Run tests for a particular browser:
BROWSER=safari npm run test-browser BROWSER=safari npm run test-browser
BROWSER=edge 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 ### Testing in development mode
In separate terminals: In separate terminals: