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
- Make sure you have Ruby 2.3.1 installed along with Rubygems (make
sure you havelibxslt-dev
,libxml2-dev
,libpq-dev
installed on
your machine). - Setup the
.env
file by runningcp .env-example .env
- Replace
JSON_WEB_TOKEN_SECRET
with your own randomized secret. - Replace
DATABASE_URL
andREDIS_URL
with URLs to your Postgres and Redis database URLs respectively. (Postgres and Redis can be on the same machine or different machines). - Run
./script/server
to start the server.
Updated less than a minute ago