Skip to content

adminteractive/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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