Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.58 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.58 KB

Triple T

火車時刻小幫手

alt text alt text alt text

Purpose

You are able to search TRA and THSR timetable on Line.

To use this service, click the button or scan the QR Code below to join in right now!

加入好友

QR Code

(Service is not available after June 23th, 2018)

Demo

demo1

demo2

demo3

demo4

Development

Setup

  1. Duplicate ".env.example" file and rename it to ".env"
  2. Fill up the variable in .env file
  3. Create a file name "ptx_keys.txt" and add ID Key pair on every two line (if more than one pair)

Run

Using Docker

docker-compose build
docker-compose up

Testing

  • In ".env", set POSTGRES_DB=testing
  • Run test in docker container
docker-compose -f testing-compose.yml build
docker-compose -f testing-compose.yml up
  • When the test is finished, <ctrl+c> to close it

License

MIT