forestbelton / naomi

just another friendly chat bot
3 stars 1 forks source link

naomi Build Status

friendly chat bot

Setup instructions

Install the required software:

Perform the following steps from the command-line:

$ git clone https://github.com/forestbelton/naomi.git
$ yarn install

Create a new bot user and retrieve its application token according to this guide.

NOTE: If you already have an application token, you can skip this.

Set the application token in the environment and run the start script:

$ export APP_TOKEN=<YOUR_TOKEN_HERE>
$ ./bin/start-naomi.sh

NOTE: Make sure you replace <YOUR_TOKEN_HERE> with the application token you created.

Setup with Docker

There is a Dockerfile for this project, so building/running the application is also possible via Docker. In order to build the image and start a container running the application, perform the following:

$ docker build -t forestbelton/naomi:0.1.0 .
$ docker run --env APP_TOKEN=<YOUR_TOKEN_HERE> -it forestbelton/naomi:0.1.0