Skip to content

Latest commit

 

History

History

sample-spring-boot-kitchensink

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

sample-spring-boot-kitchensink

What is this?

This is a full-featured sample application for the LINE Messaging API.

Usage

Run this sample bot using Gradle.

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

or if you finished create src/main/resources/application.yml file based on src/main/resources/application-template.yml. You can start configured web server just hitting

../gradlew bootRun

You need to pass the following options.

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

For more information about configuration way, refer Spring Boot Reference - 24. Externalized Configuration.