Hackpads are smart collaborative documents. Join Hackpad Now.


1833 days ago
Unfiled. Edited by miaoski 1833 days ago
miaoski moedict-amis line bot
隨手紀錄一下在新的 DigtalOcean Droplet 上安裝阿美語萌典 line bot 。
Line Bot 的 callback URL 需要 https (不確定會不會驗證簽章,假設會好了...)
所以要安裝 Let's Encrypt
  • apt-get update
  • apt-get dist-upgrade
  • cd /opt
  • apt-get install git python-pip build-essential python-dev libffi-dev libssl-dev
  • pip install pyopenssl ndg-httpsclient pyasn1
  • pip install urllib3 --upgrade
  • ./letsencrypt-auto --standalone -d amis.noip.me
改一下 default locale 
  • locale-gen zh_TW.UTF-8
  • vim /etc/default/locale

Contact Support

Please check out our How-to Guide and FAQ first to see if your question is already answered! :)

If you have a feature request, please add it to this pad. Thanks!

Log in / Sign up