Skip to content

andrey-zubov/sergey-chat

Repository files navigation

HelpBot

  • Chat-bot will tell you where to contact (call/find organisation) in a situation of domestic violence.
  • Technologies: Django, Django-MPTT, jQuery, Ajax, HTML, CSS, Telegram Bot API, Yandex JS API.

Deploy:

  • docker-compose build
  • docker-compose up -d
  • docker-compose run web python3 manage.py collectstatic
  • docker-compose run web python3 manage.py loaddata initial_data.json

Test Telegram ping

  • see 'new 1.txt'
  • change bot token
  • change chat id (@userinfobot)
  • enter command to console
  • see result (form in the 'curl-format.txt')

/admin name: superadmin pass: TDjymYHSJkpzp4p

pythonanywhere Tasks

Scheduled tasks:

/home/YOURNAME/.virtualenvs/bot_venv/bin/python /home/YOURNAME/ButonBotDjango/ButonBotDjango/help_bot/telega.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published