README: Add path to initdb as an example

This commit is contained in:
Lars Kanis 2018-02-10 20:29:31 +01:00
parent 02d7ad6756
commit 0632dae5eb
No known key found for this signature in database
GPG Key ID: 20362776599898C0

View File

@ -71,10 +71,10 @@ Run in modify-mode:
``` ```
## TEST: ## TEST:
There is a small test suite in the `test` directory that runs against an internal ruby-ldapserver and PostgreSQL server. Ensure gem `ruby-ldapserver` is installed and `pg_ctl`, `initdb` and `psql` commands are in the `PATH`. Then: There is a small test suite in the `test` directory that runs against an internal LDAP server and a PostgreSQL server. Ensure `pg_ctl`, `initdb` and `psql` commands are in the `PATH` like so:
```sh ```sh
cd pg-ldap-sync cd pg-ldap-sync
rake test PATH=$PATH:/usr/lib/postgresql/10/bin/ rake test
``` ```
## ISSUES: ## ISSUES: