Table of Contents
- poetry
curl -sSL https://install.python-poetry.org | python3 -
- Clone the repo
git clone https://github.com/fictadvisor/fice-events-bot
- Install dependencies
or poetry
pip install -r requirements.txt
poetry install
- Rename
.env.dist
to.env
, and enter your environment variablesTOKEN="BOT TOKEN" POSTGRES_HOST="POSTGRES_HOST" POSTGRES_USER="POSTGRES_USER" POSTGRES_PASSWORD="POSTGRES_PASSWORD" POSTGRES_DB="POSTGRES_DB" REDIS_HOST="REDIS_HOST" REDIS_PORT=PORT REDIS_USERNAME="REDIS_USERNAME" REDIS_PASSWORD="REDIS_PASSWORD" REDIS_DB=REDIS_DB IMGBB_API_KEY="IMGBB_API_KEY"
- Apply migrations
alembic upgrade heads
python -m bot.main
Build
docker build -t fice-events-bot .
Run
docker run fice-events-bot
docker-compose up
Distributed under the MIT License. See LICENSE.txt
for more information.