Code Monkey home page Code Monkey logo

kyoshin-report-bot's Introduction

Kyoshin Report BOT

Kyoshin Report BOT Screenshot
※現在のものではありません

Warning

始める前に

プログラミング弱者が作ったコードなのでエラーが発生する可能性があります。 環境によっては起動できない可能性があります。

環境構築 Python編

Warning

python3 がインストールされている前提です。

クローン

GitHub からリポジトリをクローンします。

git clone https://github.com/nikkou-0814/Kyoshin-Report-BOT.git

環境変数

  1. .env をコピーしPythonフォルダへ移動
cp .env.example .env

Discord BOT のトークンとチャンネルIDを記載します。

  1. TOKEN=<DISOCRD_TOKEN>

  2. ChannelID=<DISCORD_ChannelID>

依存関係のインストールと起動

pip install -r requirements.txt

python app.py

環境構築 JavaScript編

Warning

nodejs がインストールされている前提です。

クローン

GitHub からリポジトリをクローンします。

git clone https://github.com/nikkou-0814/Kyoshin-Report-BOT.git

環境変数

  1. .env をコピーしJavaScriptフォルダへ移動
cp .env.example .env

Discord BOT のトークンとチャンネルIDを記載します。

  1. TOKEN=<DISOCRD_TOKEN>

  2. ChannelID=<DISCORD_ChannelID>

依存関係のインストールと起動

cd JavaScript

npm install

npm start

KyoshinEewViewer for ingenをインストール

ワークフローの設定

設定 → ワークフロー → 新規追加 →

トリガー → (強振モニタ)揺れ検知

アクション → 指定したURLに内容をPOST

URL → http://localhost:8000/endpoint※ローカルの場合

※バージョンによって違う可能性があります

謝礼

KyoshinEewViewer for ingen (ingen様)

強振モニタ (防災科学技術研究所 様)

kyoshin-report-bot's People

Contributors

nikkou-0814 avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

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.