Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 733 Bytes

Readme.md

File metadata and controls

46 lines (29 loc) · 733 Bytes

Deep Breath

Air Quality monitoring service.

Prerequirements

  • RabbitMQ instance (configured in store.rabbitmq and datasource.rabbitmq sections)
  • PostgreSQL database (configured in store.database section)

Installation

npm install

Supported datasources

  • pl-wielkopolskie
  • pl-zachodniopomorskie
  • pl-lubuskie
  • pl-slaskie
  • pl-dolnoslaskie
  • pl-malopolskie
  • pl-opolskie
  • pl-podkarpackie

Execution

You need to run several services:

node store
node datasource-dacsystem.js <datasource name>
node aqi
node mobile

Default environment is set to localhost. You can override this with NODE_ENV environment variable.

Tests

Real man push their code directly to production.