Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.1 KB

File metadata and controls

49 lines (42 loc) · 1.1 KB

Schedule telegram bot on Heroku

The project was created as a coursework on the discipline 'Software Engineering'. Lecture schedule in a telegram using a bot.

Features:

  • Schedule of classes for your group by days and weeks.
  • Teacher's schedule.
  • Exam Schedule.

Installing

You need the latest version of pip to deploy the project on the local machine. Install virtualenv:

$ pip install --upgrade virtualenv

Cloning repo:

$ git clone https://github.com/TheInfinityProjects/Timetable-bot.git
$ cd Timetable-bot

Created virtualenv:

$ virtualenv -p python3 venv

Open /Timetable-bot/venv/bin/active and add:

TOKEN='Your bot token'
export TOKEN
  
DATABASE_URL='Your database URL'
export DATABASE_URL

Activate virtual environment:

$ source venv/bin/activate

Now install required python packages:

(venv) $ pip install -r requirements.txt

Start bot polling:

(venv) $ python manage.py --start polling
Bot start polling!