/CoronaAutoChecker

금오공대 기숙사 코로나 자가진단 자동화 프로그램

Primary LanguagePythonMIT LicenseMIT

CoronaAutoChecker

금오공대 기숙사 코로나 자가진단 자동화 프로그램

Requirements

Google Chrome, python3.8

How to use

# install requirements
python3 -m pip install -r requirements.txt

# setup .env
Open .env file and put your id, password

# run
python3 main.py

How to use with docker-compose

build docker image

docker build -t dldhk97/corona_auto_checker:0.1 .

create docker-compose.yml

version: "3"
services:
  corona_auto_checker:
    image: dldhk97/corona_auto_checker:0.1
    container_name: corona_auto_checker
    environment:
      - USER_ID=YOUR_USER_ID
      - USER_PASSWORD=YOUR_USER_PASSWORD
      - RUN_EVERY_DAY=True
      - CHECK_EVERY_DAY_AT_HOUR=08
      - CHECK_EVERY_DAY_AT_MINUTE=30
      - RANDOM_SLEEP=True

run

docker-compose up -d

TODO

  • 경량화(alpine 이미지 + Chronium 사용)