Skip to content

irake99/samplelinebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-linebot

Getting started

  1. Run go mod tidy.

  2. Create .env file from example.env and set values and secrets to .env.

  3. Source the .env file.

    set -a && . .env && set +a
  4. Start MongoDB.

    sudo -E ./run-mongo.sh
  5. Start ngrok (Need to install before running)

    ngrok http 8080
  6. Run the program.

    go run samplelinebot

  • Stop MongoDB

    sudo -E ./run-mongo.sh stop
  • Remove MongoDB

    sudo -E ./run-mongo.sh remove

About

Sample LINE Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published