Giter Site home page Giter Site logo

flood-alert-app's Introduction

Flood-Alert-App

More Detailed info + instructions coming soon

App-Flood-App

GRPC Server - Waits for calls from App-Flood-Ctl List of calls that the client can make:

  • check-alerts - Requests info from api and checks for severe weather (currently just certain weather codes + rain in the past 3 hours above 3 hours)
  • test-alerts - Tests alerts methods - Currently just Text Message and Email
  • mute-notifications - mutes notifications of each alert type
    • "Email" mutes email alerts
    • "SMS" mutes SMS alerts (This functionality is changing soon)

App-Flood-Ctl

Small command-line app, that makes requests to the Flood-Server

To make requests locally i'd recommend installing it locally and following the instructions below (once they are finished) The dockerfile is used for the cron job aspect of the project. Its hard coded to make requests to localhost, for use inside the cluster.

Installation:

TODO: Start with how to setup the cluster / setup with gcp

  • On your Local Machine: You must have go installed and a running version of the app running
    1. By runing go install the binary will be built and put into your path
    2. run app-flood-ctl to get a list of commands
    3. Before you can make requests locally you must the set the enviroment variable KUBERNETES_IP to the external ip created by the service

App-Flood-Build

Handles creating and populating the kubernetes cluster

CronJob: In order to check requests, kubernetes manages a cronjob that runs the following command app-flood-ctl check-alerts every 30min. This is how the app is able to check alerts.

flood-alert-app's People

Contributors

stolarskis avatar

Stargazers

Steven Aldinger avatar

Watchers

James Cloos avatar

Forkers

amalnair16

flood-alert-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.