Skip to content

salsa-community/cripbot

Repository files navigation

Welcome to Chatbot 👋

Version License: MIT

Chatbot

Preconditions

  • Install Docker and docker compose Official docker docs
  • Up and run Mongodb and kbase applications with the run-development.sh script
  • Use node v10
  • Create custom env file with the command cp .env_template .env

Install

npm install

Config vtiger database (optional)

If you area working with a second user provider like mysql follow the next steps:

  1. Connect to the mysql database with the credentials defined at docker/data/mysql/env
  2. Execute the script located in docker/vtiger-dump.sql

Usage

npm start

Go to http://localhost:3000/test/bot.html and test the bot

Run tests

npm run test

Update CSS

sass --update sass/:public/css/

Build docker images

npm run docker-bot-build

Authors

👤 Daniel Cortés Pichardo

Show your support

Give a ⭐️ if this project helped you!