Skip to content

ivkos/botyo-example

Repository files navigation

Botyo Example Project

npm

This is an example project for Botyo demonstrating how to configure and run a Facebook group chat bot.

The project has the following Botyo modules installed:

Please refer to their project pages for configuration options.

This project can be run inside a multi-container Docker Compose environment, or natively.

Requirements

  • Node.js 8.3.0+
  • MongoDB 3.0+ (required for the Persistence Bundle)
  • Docker 17.06.0+ & Docker Compose (optional unless you're running Botyo inside Docker)

Download

git clone https://github.com/ivkos/botyo-example.git

Configuration

First, before running Botyo, you need copy the provided example configuration file, and edit it using your favorite text editor:

cp config_example.yaml config.yaml
nano config.yaml

Running Botyo

Install the dependencies:

npm install

Build:

npm run build

Then run Botyo:

npm run start

Running Botyo inside Docker

Edit the configuration file following its recommendations for running inside Docker.

nano config.yaml

Start the multi-container Docker Compose application:

docker-compose up

This will build all relevant Docker images, and then start Botyo.

Experiment & Extend

Study the structure of the project, its source files, configuration, and Docker files to learn what a working instance of Botyo consists of. Experiment with writing your own modules and extending Botyo.

About

Botyo Example Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published