Skip to content

Commit

Permalink
Update READMEs from other repos
Browse files Browse the repository at this point in the history
  • Loading branch information
slnode committed Feb 19, 2017
1 parent 3fe961b commit 8fb8bcf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pages/en/lb3/readmes/loopback-connector-postgresql.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,7 @@ Destroying models may result in errors due to foreign key integrity. First delet

## Running tests

The tests in this repository are mainly integration tests, meaning you will need
to run them using our preconfigured test server.
The tests in this repository are mainly integration tests, meaning you will need to run them using our preconfigured test server.

1. Ask a core developer for instructions on how to set up test server
credentials on your machine
Expand All @@ -378,9 +377,11 @@ In ```test\init.js```, change the value of ```config``` to be pointing to the lo
};
```

2. (`Linux Only`) `CI=true PGHOST=localhost PGPORT=<pgport> PGDATABASE=<dbname> PGUSER=<username> PGPASSWORD=<password> npm test`

__Troubleshooting__

When running npm test, it runs the ```pretest.js``` which eventually runs ```schema.sql``` to set up the database and tables.
When running `npm test`, it runs the ```pretest.js``` which eventually runs ```schema.sql``` to set up the database and tables.
If there is problem, you can run the ```schema.sql``` manually. To do this:

1. Go to SQL Shell (psql)
Expand Down

0 comments on commit 8fb8bcf

Please sign in to comment.