Mostly finish README.txt.

This commit is contained in:
John "Elwin" Edwards 2014-03-09 16:15:42 -07:00
parent de69f47fc1
commit 0c75cdca4a

View file

@ -11,7 +11,7 @@ It requires the 'posix', 'pty.js', and 'websocket' modules.
Installation Installation
--- ---
RLGWebD expects to be run in a dgamelaunch installation, and it makes RLGWebD expects to be run in a chroot used by dgamelaunch, and it makes
some assumptions about the configuration. It expects the dgamelaunch some assumptions about the configuration. It expects the dgamelaunch
playground to be at /dgldir inside the chroot. It expects the playground to be at /dgldir inside the chroot. It expects the
in-progress files to be in /dgldir/inprogress/<gamename>. RLGWebD in-progress files to be in /dgldir/inprogress/<gamename>. RLGWebD
@ -25,6 +25,18 @@ done with a line in /etc/fstab like the following:
It creates a socket in the filesystem which is used to control the It creates a socket in the filesystem which is used to control the
server. server.
The following files need to be copied into CHROOT/var/www:
about.html
bell.svg
options.html
options.js
rlgterm.js
style-rlg.css
termemu.js
termemu-keys.js
tty.css
Copy index-rlg.html to CHROOT/var/www/index.html.
sqlickrypt sqlickrypt
--- ---
RLGWebD uses a separate program written in C to operate on the RLGWebD uses a separate program written in C to operate on the
@ -45,3 +57,9 @@ Run the 'rlgwebd' shell script as root.
Stop by passing 'stop' as an argument. (This requires socat to be Stop by passing 'stop' as an argument. (This requires socat to be
installed.) installed.)
webtty
---
webtty.js is a Node app which uses the terminal emulator to run a shell. It
includes NO SECURITY WHATSOEVER and should only be used for testing the
terminal emulator. Copy index-sh.html to index.html before running it.