Skip to content

abryb/bbgh-mentioner

Repository files navigation

Running on production

It runs single container with cron jobs defined in crontab

docker-compose up --build -d

Usage manually

# build docker container
docker-compose build
# run mentioner help
docker-compose run --rm app
docker-compose run --rm app mentioner --help
# run same command as running in cron job
docker-compose run --rm app mentioner run
# download players
docker-compose run --rm app mentioner download_players
# create all mentions
docker-compose run --rm app mentioner create_mentions
# state info
docker-compose run --rm app mentioner state_info
# clear state
docker-compose run --rm app mentioner clear_state

Interactive usage

docker-compose run --rm app mentioner console
>>> state_info()
>>> app.state

Development

If using PyCharm follow https://www.jetbrains.com/help/pycharm/using-docker-compose-as-a-remote-interpreter.html#tw

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published