My team and I made a service for teachers, which allows to quickly create test works, and will also check them from photos
The created service consists of 3 parts:
-
Web application in which you can create tests, as well as view the results of them.
-
Telegram bot that receives and processes photos of test papers
-
Validation algorithm that checks each work by the photo that telegram bot has received
https://www.loom.com/share/f3b0feb37f1d4bfe8113e82e038b1b3a https://www.loom.com/share/32e1fce2b96146d5ae209d3c1b8b9e02
By clicking on these links you will see a demonstration of the web application and telegram bot work.
- Install venv and requirements
- Add a database
- Create a Superuser for django app
- Launch Bot
- Launch Django web server
- Activate virtual environment
- From root folder run
pip install -r requirements.txt
.cdtoeye-exam-project/eye_exam- run
python manage.py makemigrationscommand - run
python manage.py migratecommand
- In
eye-exam-project/eye_examdirectory runpython manage.py createsuperusercommand - After that write your username, email address and password
- Obtain telegram bot api token
- Paste your api token to
eye-exam-project/eye_exam/tasks/bot/bot_settings.py - Simply launch
eye-exam-project/eye_exam/tasks/bot/handlers.pyfrom root directory of the project - Open your bot in telegram and write something or send a photo of test paper to it
- run
python eye-exam-project/eye_exam/manage.py runserver - navigate to
http://127.0.0.1:8000/