Skip to content

andrewmaximoff/Schedule-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/qiwiGremL1n/Schedule-Bot
$ 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

FLASK_APP=app.py
export FLASK_APP

FLASK_DEBUG=0
export FLASK_DEBUG

SECRET_KEY='Your secret key'
export SECRET_KEY

Activate virtual environment:

$ source venv/bin/activate

Now install required python packages:

(venv) $ pip install -r requirements.txt

Start bot polling:

(venv) $ flask run

About

Timetable telegram bot on Heroku for KPI students

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published