Skip to content

A bot which helps the residents of IU campus

License

Notifications You must be signed in to change notification settings

Birdi7/hoteluni_bot

Repository files navigation

HotelUni_bot

written with aiogram and umongo. Basic structure was taken from this template.

Running instance: @hoteluni_bot. Currently down

This bot can send reminders about cleanings in the campuses of the Innopolis University.

Dependencies

To run this bot correctly, you need a MongoDB cluster and a Redis server running. The first one is used for the user data, and the second one contains FSM data of users. APScheduler is used for scheduling events. See requirements.txt for more information.

Running

This project is deployed using docker-compose. There is no mongoDB configuration in the docker-compose file. You can use Atlas and specify running parameters in the environment file (second step), or add it on your own.

With docker-compose:

  1. Clone the repo with git clone https://github.com/Birdi7/hoteluni_bot.git
  2. Copy an example environment file with cp example.env .env
  3. Modify the local environment file named .env
  4. Run docker-compose up -d --build