8000 GitHub - FICE-sc-cp/fice-events-bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FICE-sc-cp/fice-events-bot

Repository files navigation

Contributors Forks Stargazers Issues MIT License


FICE Events Bot

View Demo · Report Bug · Request Feature

Table of Contents
  1. Getting Started
  2. Usage
  3. License

Getting Started

Prerequisites

  • poetry
    curl -sSL https://install.python-poetry.org | python3 -

Installation

  1. Clone the repo
    git clone https://github.com/fictadvisor/fice-events-bot
  2. Install dependencies
    pip install -r requirements.txt
    or poetry
    poetry install
  3. Rename .env.dist to .env, and enter your environment variables
    TOKEN="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"
  4. Apply migrations
    alembic upgrade heads

(back to top)

Usage

Console

python -m bot.main

Docker

Build

docker build -t fice-events-bot .

Run

docker run fice-events-bot

Docker-Compose

docker-compose up

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0