LoginSignup
0
1

More than 5 years have passed since last update.

ngrokでグローバル環境にしてLINEbotをcloud9で動かすための手順

Last updated at Posted at 2018-11-26

自分の復習用に書きます。

GoogleCrome

ngrokのサイトへアクセス

DOWNLOAD

Linux

https〜以下を全部コピー

setting.py

ALLOWED_HOSTS = ['*']

コマンド入力

$ wget(スペース)https〜以下を全部コピーしたやつを貼り付ける

$ unzip(スペース)ngrok-stable-li〜を貼りつける

$ ./ngrok http 8080

黒い画面が出る

一番下の
Forwarding https://より下を.ioまでコピー

LINEDevelopのWebhook URL に貼りつける+ngrok.io/bot/callbackを後ろに追加する

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1