openeew / openeew-alert-twitter

Prototyping sending Tweets when an earthquake is detected by OpenEEW-Seismology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openeew-alert-twitter

This repository contains a Dockerfile that can be used for local development.

To build an a docker image, from the root directory run the following:

docker build --tag alert-twitter:dev .

Modify the .env file with relevant information.

To then run this docker image execute the following command:

docker run \
  --interactive \
  --detach \
  --env-file .env \
  --name alert-twitter \
  alert-twitter:dev

Formatter

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

To install and run black formatter:

pip install black
black /path/to/file

About

Prototyping sending Tweets when an earthquake is detected by OpenEEW-Seismology

License:Apache License 2.0


Languages

Language:Python 89.7%Language:Shell 6.3%Language:Dockerfile 4.0%