Skip to content

spinamp/spinamp_bot

 
 

Repository files navigation

Setup

redis-server
  • Install dependencies
poetry install

Config

  • Copy agent_runner/example_config.py to agent_runner/config.py for the agent configuration
  • Copy .env.example to .env for secrets configuration
  • Copy bot_config_example.json to bot_config.json for discord bot configuration
  • Modify each as desired

Running

Run API Server:

poetry run start

Run Celery Task runner:

poetry run celery -A agent_runner worker --loglevel=INFO

Run Celery Beat (Triggers tasks on the task runner based on beat config):

poetry run celery -A agent_runner beat

Run Discord Bot:

poetry run bot

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%