Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 728 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 728 Bytes

OpenEEW IBM Data Dump code

Introduction

The algorithm subscribes to MQTT detections and events and saves them to IBM Cloudant storage.

Create an .env file that contains details for your Cloudant and MQTT

To build this docker image execute the following command:

docker build --tag ibm-data-dump:dev .

To run the docker image locally run the following command:

docker run \
  --interactive \
  --detach \
  --env-file .env \
  --name ibm-data-dump \
  ibm-data-dump:dev

Development

This repository is written in Python and runs Black on all Pull Request.

To install and run black linter:

pip install black
black /path/to/file