- Go to ngrok's website
- Get your authtoken and put it in
rev_proxy/authtoken
- Download ngrok's executable and put it in
rev_proxy/ngrok.tgz
- Create
bot/config.ini
in this format:[line-bot] channel_access_token = <your channel access token> channel_secret = <your channel secret>
- Prepare your
bot/stations.json
in this format:[ { "_sid": "station_id (int)", "_name": "station_name", "_hints": ["urls_to_hint_photo"], "_questions": ["questions_at_each_station"], "_points": ["points_for_each_question (int)"], "_flags": ["flags_for_each_question"], "_captured": false } ]
docker compose build
docker compose up
- Go to http://localhost:4545/status to view ngrok's status
- Go to Line developer's website to change your Webhook url accordingly