Skip to content

MemeLabs/overrustlelogs

Repository files navigation

OverRustle Logs

A chat log suite for Destiny.gg and Twitch.tv.

Setting Up OverRustle Logs

These instructions assume you are installing on Ubuntu 14.04 or higher.

Step 1

Install git.

sudo apt-get install git --assume-yes

Step 2

Clone the overrustlelogs repo.

git clone https://github.com/MemeLabs/overrustlelogs.git

cd overrustlelogs

Step 3

Copy and edit the .env file. Edit the overrustlelogs.toml file.

# cd into overrustlelogs if not already in there
cd ./overrustlelogs
cp ./.env.example ./.env

# changing paths in this requires to change paths in install.sh
vim .env

# copy config files to working dir
cp ./package/var/overrustlelogs/* 

# few things you need to edit here too
vim ./overrustlelogs.toml

# set the channels you want to log 
vim ./channels.json

# change server_name's in the nginx config if you need
vim ./package/etc/nginx/sites-enabled/overrustlelogs.net.conf

Step 4 (Docker)

start the stack

docker-compose up -d

Step 4 (Host)

Run the install script from the repo root directory.

# cd into overrustlelogs if not already in there
cd overrustlelogs
# use sudo if you're not root
# only use all.sh if you're on ubuntu and don't have nginx, varnish, docker and
# docker-compose installed, otherwise install everything manually and run install.sh afterwards
./scripts/all.sh

Updating

Run the update script from the repo root directory.

# cd into overrustlelogs if not already in there
cd overrustlelogs
# use sudo if you're not root
./scripts/update.sh