line_bot/sample
Adam Millerchip dbc2a91b15 Use a binary comprehension
Instead of converting to a charlist and back.
2019-11-07 11:12:57 +09:00
..
config Initial checkin. 2019-09-02 20:46:29 +09:00
lib Use a binary comprehension 2019-11-07 11:12:57 +09:00
test Initial checkin. 2019-09-02 20:46:29 +09:00
.formatter.exs Initial checkin. 2019-09-02 20:46:29 +09:00
mix.exs Initial checkin. 2019-09-02 20:46:29 +09:00
mix.lock Update hackney to 1.15.2 2019-10-29 14:31:28 +09:00
README.md Initial checkin. 2019-09-02 20:46:29 +09:00

LineBotSample

Sample implementation of a Line Bot using the line_bot package.

Running

  1. Get dependencies: mix deps.get.
  2. Set environment variables
    export LINE_CLIENT_ID=...
    export LINE_CLIENT_SECRET="..."
    
  3. Start the application: iex -S mix or mix run --no-halt.