tiagoleal / chatbot

Chatbot that allows you to add and reply to questions (FAQ)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat Bot

the Chatbot FAQ of questions and answers

Current Version Ruby Version

Stack the Project

  • DialogFlow
  • Telegram API
  • Webhook
  • Sinatra
  • Rspec

Prerequisites

You must have installed on your machine:

  • Docker
  • Docker Compose

Usage

Follow the instructions to have a project present and able to run it locally. After copying the repository to your machine, go to the project's root site and:

  1. Construct the container
docker-compose build
  1. Create of Database
docker-compose run --rm app rake db:create
  1. Up the project
docker-compose up
  1. Without turning off the server, open a new window and run the migrations
docker-compose run --rm app rake db:migrate

Running the tests

To run the tests, you must run the docker container through the command:

docker-compose run --rm app rspec

Authors


Tiago Leal

About

Chatbot that allows you to add and reply to questions (FAQ)


Languages

Language:Ruby 100.0%