Skip to content

Commit f4352e7

Browse files
committed
Update README with how to override database connection parameters
1 parent 7b1f53a commit f4352e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ the first place
7373
1. `cd js-data-sql; npm install;`
7474
1. Write your code, including relevant documentation and tests
7575
1. Run `npm test` (build and test)
76-
- You need io.js or Node 4.x that includes generator support without a flag
76+
- You need Node 4.x that includes generator support without a flag
77+
- The tests expect a database to be running follows, but can be overridden by passing the applicable environment variable as indicated (ex. `DB_HOST=192.168.99.100 npm test`).
78+
- `DB_HOST`: `localhost`
79+
- `DB_NAME`: `circle_test`
80+
- `DB_USER`: `ubuntu`
7781
1. Your code will be linted and checked for formatting, the tests will be run
7882
1. The `dist/` folder & files will be generated, do NOT commit `dist/*`! They
7983
will be committed when a release is cut.

0 commit comments

Comments
 (0)