Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Manual Installation and Upgrade instructions (non docker based)

Ryan Tharp edited this page Feb 7, 2020 · 3 revisions

Manual (non-docker) set up instructions:

git submodule init
git submodule update
cp loki_template.ini loki.ini
# edit loki.ini (set your first moderator key, public_url, database type and credentials)
# edit config.json to set permanent storage backend database type and credentials
npm i -g pm2
npm i
cd nodepomf
npm i
cd ../server
npm i
cd ..
pm2 start overlay_server.js --watch --name "sogs"

Manual (non-docker) upgrade instruction:

git pull
# handle any git conflicts for loki.ini / config.json
# check loki.ini for anything you may need to update
# check config.json for anything you may need to update
git submodule update
npm i
cd nodepomf
npm i
cd ../server
npm i
pm2 restart sogs

Popular linux distribution instructions to install NodeJS

Ubuntu NodeJS installation:

curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -

then

sudo apt-get install -y nodejs