Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.73 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.73 KB

EmergencyRoom-ChatBot

made-with-javascript made-with-javascript

EmergencyRoom-ChatBot is a chatbot service delivered on line-messenger platform.

For End Users

Getting Started

Add the ChatBot's line channel

Find Emergency Room near you

  1. send any message to activate the EmergencyRoom-ChatBot.

1_activate

  1. send your current location

2_place

-

For Developers

Installation

Requirements

This project was built on Amazon Linux 2 on ec2 instance of aws. Following instructions will be compatible on Amazon Linux 2 and other linux distributions.

Install From Source

git clone [email protected]:curieyoon/emergencyRoom-ChatBot.git
cd emergencyRoom-ChatBot
npm install --save
npm install -g yarn
yarn add dotenv

Add your private keys

Under the root repository emergencyRoom-ChatBot, create your .env file containing private keys for the APIs this project depends on. Your .env file should look like this:

CHANNEL_ACCESS_TOKEN="Your_Line_Messenger_Access_Token"
KAKAO_KEY="KakaoAK Your_Kakao_API_Private_Key"
MY_DOMAIN="Your_server_domain_which_this_service_runs_on"
EMERGENCY_KEY="Your_Hospital_API_Key"
DIR_ID = "Your_Naver_Map_API_ID"
DIR_KEY = "Your_Naver_Map_API_KEY"

To import .env file properly in each module, make sure the line require("dotenv").config( {path: "/path/to/.env"} ); contains the absolute path of your .env file on your server.