Giter Club home page Giter Club logo

chatbotfor_zlsur's Introduction

Introduction

Chatbot for $%&ZLSUR&%$

Steps to execute the code and use the app.

The below step (first bullet point) is optional if you use the existing virtual environment (which you can activate by running command "source venv/bin/activate" from the root folder of the repo/project)

Step1: Assuming python3 (preferably python 3.8.2) is installed in the machine, you need to run the following commands (may use "sudo") from the root folder of the repo/project:

  • pip3 install -r requirement.txt
  • python3 -m nltk.downloader stopwords (mandatory for the first time installation)

The below two steps are optional if you continue with present database i.e. sqlite (schema & data are already there in the repo/project folder)

Step2: To create the table schemas in the database (sqlite by default, can be configurable in Chatbotforwip/settings.ini by changing the connection string and installing the required python dependencies for the database), run the following command:

bash migrate.sh


Step3: Open the sql files:

  1. login.sql
  2. question_answer.sql

Then, execute the scripts one by one by openning (or connecting) Chatbotforwip/static/chatbotforpro.db file in your sql workbench (or client)


Step4: After successful addition of default and user data for log-in as stated above, execute the following command from the root folder of the repo/project:

python3 wsgi.py (or "venv/bin/python wsgi.py" if using virtual environment)


Step5: Finally, browse the app in Browser (preferably Google Chrome:latest) by hitting the url -> http://localhost:5000/

Login into the app using the below credentials


Thank you !

chatbotfor_zlsur's People

Contributors

srijibrockz95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.