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使用可能。- pgAdminの認証情報 root@root / root
- サーバへの接続情報は次。
ホスト名/アドレス:db ポート番号:5432 データベースの管理:postgres ユーザ名:root パスワード:root
- DBの永続化データを初期化したい場合は、./db_data以下を削除すること