ptz-core-repository
v2.1.3
Published
this is a Polutz module.
Downloads
19
Readme
ptz-core-repository
ptz-core-repository is a Polutz module.
Prerequisites
- Node.
- Docker Compose (for tests). https://docs.docker.com/compose/install/
NPM Global packages
npm install -g ts-node
Setup
npm install
Test
We use docker to run the tests against a real MongoDB database. If you are using Windows you don't need 'sudo', you can remove it.
sudo docker-compose up -d
Replace CONTAINER_NAME with the output of the last cmd.
sudo docker exec CONTAINER_NAME npm test