git clone https://gitlab.com/fedstoa/moa.git moa
docker build -t moa --pull .
You can also use the docker image ghcr.io/christophlsa/moa:latest
but this can be outdated.
Check the README of fedstoa/moa for exact details.
- Take the
docker-compose.yml
and adjust the config parameters (create twitter app). - Create models:
docker-compose -f docker-compose.yml -p moa run --rm -e MOA_CONFIG=ProductionConfig moa /usr/src/app/.venv/bin/python -m moa.models
- Start with docker-compose:
docker-compose -f docker-compose.yml -p moa up -d
- Worker exists - run in loop?