wazo-dird is a service to query many directory sources simultaneously using a simple REST API.
The wazoplatform/wazo-dird image can be built using the following command:
docker build -t wazoplatform/wazo-dird .
The wazoplatform/wazo-dird
image contains a configuration file to listen to HTTP
requests on "0.0.0.0". To change this behavior, create or edit the file
/etc/wazo-dird/conf.d/listen.yml
The wazoplatform/wazo-dird-db image can be built using the following command:
docker build -f contribs/docker/wazo-dird-db.Dockerfile -t wazoplatform/wazo-dird-db .
apt-get install libpq-dev python3-dev libffi-dev libyaml-dev libldap2-dev libsasl2-dev
pip install tox
tox --recreate -e py39
You need Docker installed.
cd integration_tests
pip install -U -r test-requirements.txt
make test-setup
make test
For developers, when adding/removing a plugin:
make egg-info
To add a new migration script for the database use the following command:
alembic -c alembic.ini revision -m "<description of the revision>"