Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.56 KB

File metadata and controls

38 lines (29 loc) · 1.56 KB

What is it?

This is a LINE Login sample created by Haimin.

How to run

Run on Heroku

Requirement

  • A LINE Login channel with the "WEB" app type. To create a channel, go to Creating a Channel on the LINE Developers site.
  • A Heroku account (free to create)

Deploy the app on Heroku

Deploy

With the "Deploy to Heroku" button, you can easily deploy the LINE Login starter application to Heroku from your web browser by following the steps below.

  1. Click the Deploy to Heroku button to go to the Heroku Dashboard to configure and deploy the app.
  2. Enter a Heroku app name (optional).
  3. Enter the following Heroku config variables.
    • Channel ID: Found in the "Channel settings" page in the console
    • Channel secret: Found in the "Channel settings" page in the console
  4. Click the Deploy button. Heroku then deploys this repository to a new Heroku app on your account.

Run on Local

Requirement

  • Python3
  • Libraries which written on requirement.txt

Launch program on local

  • Change the value of run.sh
    • Change the channel ID of Your_Channel_ID
    • Change the channel ID of Your_Channel_SECRET
  • Execute the following command on Terminal
cd [THE_PROJECT_PATH]
python app.py --port 8080 -t 127.0.0.1 --debug True