Botmetrics

The Botmetrics Developer Hub

Welcome to the Bot Metrics developer hub. You'll find comprehensive guides and documentation to help you start working with Bot Metrics as quickly as possible, as well as support if you get stuck. Let's jump right in!

Production on Linux

Botmetrics Production Installation on Linux

Botmetrics can be run in production mode on your favorite Linux distribution.

Installing Botmetrics for Production on Linux

  1. Make sure you have Ruby 2.3.1 installed along with Rubygems (make
    sure you have libxslt-dev, libxml2-dev, libpq-dev installed on
    your machine).
  2. Setup the .env file by running cp .env-example .env
  3. Replace JSON_WEB_TOKEN_SECRET with your own randomized secret.
  4. Replace DATABASE_URL and REDIS_URL with URLs to your Postgres and Redis database URLs respectively. (Postgres and Redis can be on the same machine or different machines).
  5. Run ./script/server to start the server.