notify.py
checks tutor's scheduale and notify you via LINE Notify.
$ poetry run python notify.py [-d day] [-c configurationfile]
$ poetry run python notify.py today ../config.txt
$ make start
$ docker-compose run app today config.txt
$ docker run --env LINE_NOTIFY_TOKEN_TEST=anylinenotifytoken --rm --entrypoint=pytest notifyimage:latest -v
$ export LINE_NOTIFY_TOKEN_TEST=anylinenotifytoken
$ pytest -v
[SITE INFO]
URL = XXXXX
[LINE NOTIFY]
TOKEN = XXXXX
SUBMIT_MESSAGE = XXXXX
[USER INFO]
NAME=XXXX
[TUTORS]
# name id
tutor1 = 12345
tutor2 = 54321
make start
後に、http://localhost にアクセスで、pgAdmin使用可能。
ホスト名/アドレス:db
ポート番号:5432
データベースの管理:postgres
ユーザ名:root
パスワード:root