Skip to content

This is a chatbot made for fun with the help of Django and Django Channels

Notifications You must be signed in to change notification settings

VishnuPrasad1998/telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telebot

This is a chatbot made for fun with the help of Django and Django Channels. It was built over an existing chatbot by Vaisagh. For reference Check it out Features:

  1. Authentication
  2. Click counts displayed on homepage itself.
  3. Chatbot whick responds to our action.

Click here to see the screenshots of the webapp.

Setup:

  1. Clone the repo git clone https://github.com/VishnuPrasad1998/telebot.git
  2. Inside telebot folder, first grab a virtualenv and activate it
virtualenv venv
source ven/bin/activate
  1. Install all packages
pip install -r requirements.txt
  1. Add your PostgreSQL credentials to settings.py(Only if you are using it for development in local machine other wise use dotenv)
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': '<Your-DB-name>',
        'USER': '<Name=of-the-user>',
        'PASSWORD': '<Password>',
        'HOST': 'localhost'
    }
}
  1. Migrate these changes
python manage.py makemigrations
python manage.py migrate
  1. To create super user
python manage.py createsuperuser
  1. To runserver(by default on port 8000)
python manage.py runserver
  1. To run tests
./manage.py test chat/

You are good to go... This is version1 so UI is a mess and features like count update can be made real time.

About

This is a chatbot made for fun with the help of Django and Django Channels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages