單純給我的line-bot留下紀錄
-
Python environment
-
Create A heroku app (https://dashboard.heroku.com/apps)
-
A line bot channel in line developer console (https://developers.line.biz/console/)
-
Enable the webhook function in your line bot channel console (https://manager.line.biz/account/[your_linebot_id]/setting)
-
Link the webhook in the line bot channel console to (https://[your_app_name].herokuapp.com/callback)
Copy the CHANNEL_SECRET and CHANNEL_ACCESS_TOKEN into the env config
heroku/python
https://github.com/heroku/heroku-buildpack-chromedriver
https://github.com/heroku/heroku-buildpack-apt
https://github.com/heroku/heroku-buildpack-google-chrome
-
Copy this repo
gh repo clone brianoy/auto_roll_call
-
Set the remote to the heroku
heroku login
heroku git:remote -a [your_app_name]
-
Deploy the app on heroku
Save all the file
Ctrl + S
git add .
git commit -m "update"
git push -u heroku
https://line.me/R/ti/p/%40963ypagh
Heroku had changed their terms of use, free Heroku Dynos are no longer available. This line-bot might not respond any more.