Skip to content

pmgo-professor-willow/line-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 12, 2023
a63d2e8 · Aug 12, 2023

History

84 Commits
May 16, 2023
Aug 12, 2023
Jan 12, 2021
Jul 24, 2021
Aug 12, 2023
Aug 12, 2023
Feb 14, 2021
Jan 9, 2021
Jan 12, 2021
Jan 12, 2021
May 1, 2022
Aug 12, 2023
Jul 6, 2021
Jul 6, 2021

Repository files navigation

LINE ID: @611mscwy



Development

# Listening on port 8080
go run cmd/main.go

Deployment

Prepare project environment variables when GitHub Action do "functions deploy".

ENV from LINE Console

Visit https://developers.line.biz/console/

  • LINE_CHANNEL_SECRET & LINE_CHANNEL_ACCESS_TOKEN
    • Select a Messaging API channel > Basic settings > Channel secret
    • Select a Messaging API channel > Messaging API > Channel access token

ENV from GCP

Visit https://console.cloud.google.com/

  • GCP_CREDENTIALS
    • GCP Console > APIs & Services > Credentials > Service Accounts > ADD KEY (JSON)