Skip to content

danhurwit/covax_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covax-bot

pre-requisites

  • Install docker
  • Run RabbitMQ in docker docker run -d -p 5672:5672 rabbitmq
  • create database using this file python db_admin.py
  • set DB_URL and DISCORD_WEBHOOK_URL in .env file

running manually

from within the top level directory

  • start the beat scheduler celery -A src.celery_app beat
  • start the workers celery -A src.celery_app worker -l INFO
  • run once celery call src.appointment_runner.run

run scheduled

  • overmind start (-D)
  • to tail logs: overmind echo

within IDE

python main.py

viewing tasks

celery -A src.celery_app events

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published