Latest commit dace545 Dec 9, 2016 @tokuhirom tokuhirom committed on GitHub Merge pull request #78 from kazuki-ma/Athens-SR1
Update spring-boot to 1.4.2 (Update spring-io:Athens-SR1)

README.md

sample-spring-boot-echo

sample-spring-boot-echo is a tiny sample bot application based on Spring Boot.

Usage

Run this sample bot using Gradle.

../gradlew bootRun -Dline.bot.channelToken=YOUR_CHANNEL_TOKEN \
                   -Dline.bot.channelSecret=YOUR_CHANNEL_SECRET

You need to pass the following options.

  • line.bot.channelToken: Your Channel access token
  • line.bot.channelSecret: Your Channel secret

Deploy on Heroku

Deploy this module on Heroku.

Step 1

Get the Channel access token and Channel secret from the Channel Console.

Step 2

Tap the deploy button.

Deploy

Step 3

Fill in the form and run your instance.

Step 4

Tap the Manage App button and copy the name of your Heroku instance.

Step 5

Set the webhook URL for your Channel on the Channel Console using the following URL: https://${YOUR_HEROKU_APP_NAME}.herokuapp.com/callback