Skip to content

How to update the server

Martin Hammerchmidt edited this page Feb 18, 2016 · 1 revision

Connect to the server by ssh.

screen -R node

CTRL + C

cd /home

rm -rf twitch-chat-stats

git clone https://github.com/vanila-io/twitch-chat-stats

cd twitch-chat-stats

nano web_display/web_manager.js

At the line server.listen(XXX), replace to server.listen(80)

CTRL + X, Y, ENTER

nano web_display/templates/index.ejs

Go down and search line io.connect(XXX). Replace it by io.connect('http://159.203.64.62');

CTRL + X, Y, ENTER

nano web_display/templates/channel.ejs

Same as in index.ejs

nvm use node

npm install

node main.js

CTRL A, D

Clone this wiki locally