Admin:TheLounge: Difference between revisions

From Spring
Jump to navigationJump to search
Turboss (talk | contribs)
Turboss (talk | contribs)
No edit summary
Line 16: Line 16:


== Stop ==
== Stop ==
<code>
<code><pre>
$ sudo su -s /bin/bash webchat
$ sudo su -s /bin/bash webchat
$ cd
$ cd
$ cat lounge.pid
$ cat lounge.pid
$ kill pid
$ kill pid
$ logout
$ logout
</code>
</pre></code>
== Update ==
== Update ==
<code>
<code><pre>
$ sudo su -s /bin/bash webchat
$ sudo su -s /bin/bash webchat
$ cd
$ cd
$ cd lounge
$ cd lounge
$ git pull
$ git pull
$ npm install
$ npm install
$ npm run build
$ npm run build
</code>
</pre></code>


remember to patch the lounge/client/index.html
remember to patch the lounge/client/index.html


and restart the lounge
and restart the lounge

Revision as of 22:51, 17 December 2016

Webchat

This page contains the info of how to start/stop and update the irc web client

https://springrts.com/webchat

Requiers a lobby account

Start

$ sudo su -s /bin/bash webchat
$ cd
$ ./startLounge.sh
$ logout

Stop

$ sudo su -s /bin/bash webchat
$ cd
$ cat lounge.pid
$ kill pid
$ logout

Update

$ sudo su -s /bin/bash webchat
$ cd
$ cd lounge
$ git pull
$ npm install
$ npm run build

remember to patch the lounge/client/index.html

and restart the lounge