A web App to search in a LDAP for users and contacts.
- NodeJS 6.x or newer
npm install && npm run build && npm run copy-env
or
yarn && yarn run build && yarn run copy-env
After install, edit file .env
and set variables.
npm start
If you need, use a third parameter to provide a config file (.env
renamed for alternative or testing environment).
Copy .env-example
to .env
and edit variables.
Run:
docker build -t bina .
docker run -p 3000:3000 --env-file .env bina
or
docker-compose up -d
Before running app, set environment variable DEBUG
:
DEBUG=Bina:* npm start
Just config to sync with url: http://<binaServer>/contacts/<brand>.xml
Brand options:
- Yealink
- Grandstream