Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.41 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.41 KB

ptz-core-repository

Codacy Badge Build Status codecov.io Dependency Status bitHound Score MIT license

ptz-core-repository is a Polutz module.

Prerequisites

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