LINE MSG

required

ruby: 2.7.2

mv .env.exmple to .env

set up below setting

LINE_CHANNEL_ID=
LINE_CHANNEL_SECRET=
LINE_CHANNEL_TOKEN=
GOOGLE_SHEET_ID=

Get google-api-key.json from Google API

install

bundle install

run

ruby app.rb

build image

docker build -t line-msg . --no-cache

run app via docker run

docker run --name webhook-api -p 8080:8080 line-msg