/chatbot

Chat bot

Primary LanguageJavaScript

Bot Toivo - The Employee Happiness Manager

Toivo is a chatbot who acts as an Employee Happiness Manager

Environment

Docker setup

  1. Copy .env.sample to .env
cp .env.sample .env
  1. In project root, run docker
docker-compose up -d
  1. Access application under app.docker.localhost:8000

Navigating

  • To get inside application container
docker-compose exec --user node app bash -l

Application

Environment

In order to change application specific settings, like mongodb url.

cd ./app
  1. Copy .env.sample to .env
cp .env.sample .env

Installation

If you are using docker, then the following instructions should be done inside app container. Check the docker part part of the Readme for instructions

npm install

Usage

When using docker, the application server is automatically started and restarted with nodemon. The default server port is 80 but you can change it in .env file.

Emulator

OR

The latter enables you to run emulator inside a container which is linked to the application network