Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.18 KB

README.md

File metadata and controls

41 lines (35 loc) · 1.18 KB

Nike Crawling Service

나이키 사이트에서 SNKR 응모를 하는 상품을 가져와서 email로 전송하는 서비스

Make logs directory

$ cd {ProjectRoot}
$ mkdir logs

environment variables

Set .env file

EMAIL_ID={Your Email}
EMAIL_PASSWORD={Your Email password}
EMAIL_USERNAME={Email send user name}
ADMIN_ID={Admin Email}

Using JOB

python3 manage.py start --recipients "email1,email2"
python3 manage.py start --recipients "email1,email2" --date "2020-05-25"
python3 manage.py start --recipients "email1,email2" --date "2020-05-25" --time 10

Using Server

Run django server

python3 manage.py runserver

EndPoints

Method Endpoint Param Description
Get http://localhost:8000 Welcome
Get http://localhost:8000/job Call List

Example