Microsoft chatbot build using NLTK-Chatbot and django
Microsoft chatbot build using NLTK-Chatbot and django
git clone https://github.com/ahmadfaizalbh/Microsoft-chatbot.git
cd Microsoft-chatbot
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
Microsoft-chatbot/bot/settings.py
set DEBUG = True
cd Microsoft-chatbot
python manage.py process_tasks
http://localhost:8000/messaging/
and name localhost
and save
git clone https://github.com/ahmadfaizalbh/Microsoft-chatbot.git
Microsoft-chatbot/bot/settings.py
DEBUG = False
APP_CLIENT_ID = `<Microsoft App ID>`
APP_CLIENT_SECRET = `<Microsoft App Secret>`
Microsoft-chatbot/bot/settings.py
also set ALLOWED_HOSTS
with list of domain nameschatbot
with username app_user
and password InfoBotPassword
in postgreSQL or change the credential in settings as per your configuration
create database chatbot;
create user app_user with encrypted password 'InfoBotPassword';
grant all privileges on database chatbot to app_user;
cd Microsoft-chatbot
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py process_tasks
in background (put it in /etc/rc.local
with appropriate path to python and manage.py)