comparison README.txt @ 151:9f9bc41d5006

Mostly finish README.txt.
author John "Elwin" Edwards
date Sun, 09 Mar 2014 16:15:42 -0700
parents 5baa2d4d798b
children b5df69715001
comparison
equal deleted inserted replaced
150:1d3cfe10974a 151:9f9bc41d5006
9 9
10 It requires the 'posix', 'pty.js', and 'websocket' modules. 10 It requires the 'posix', 'pty.js', and 'websocket' modules.
11 11
12 Installation 12 Installation
13 --- 13 ---
14 RLGWebD expects to be run in a dgamelaunch installation, and it makes 14 RLGWebD expects to be run in a chroot used by dgamelaunch, and it makes
15 some assumptions about the configuration. It expects the dgamelaunch 15 some assumptions about the configuration. It expects the dgamelaunch
16 playground to be at /dgldir inside the chroot. It expects the 16 playground to be at /dgldir inside the chroot. It expects the
17 in-progress files to be in /dgldir/inprogress/<gamename>. RLGWebD 17 in-progress files to be in /dgldir/inprogress/<gamename>. RLGWebD
18 creates in-progress files in those locations, and dgamelaunch must be 18 creates in-progress files in those locations, and dgamelaunch must be
19 patched to prevent it from deleting them. 19 patched to prevent it from deleting them.
22 done with a line in /etc/fstab like the following: 22 done with a line in /etc/fstab like the following:
23 devpts CHROOT/dev/pts devpts newinstance,ptmxmode=666 0 0 23 devpts CHROOT/dev/pts devpts newinstance,ptmxmode=666 0 0
24 24
25 It creates a socket in the filesystem which is used to control the 25 It creates a socket in the filesystem which is used to control the
26 server. 26 server.
27
28 The following files need to be copied into CHROOT/var/www:
29 about.html
30 bell.svg
31 options.html
32 options.js
33 rlgterm.js
34 style-rlg.css
35 termemu.js
36 termemu-keys.js
37 tty.css
38 Copy index-rlg.html to CHROOT/var/www/index.html.
27 39
28 sqlickrypt 40 sqlickrypt
29 --- 41 ---
30 RLGWebD uses a separate program written in C to operate on the 42 RLGWebD uses a separate program written in C to operate on the
31 dgamelaunch user database. Compile this with: 43 dgamelaunch user database. Compile this with:
43 --- 55 ---
44 Run the 'rlgwebd' shell script as root. 56 Run the 'rlgwebd' shell script as root.
45 57
46 Stop by passing 'stop' as an argument. (This requires socat to be 58 Stop by passing 'stop' as an argument. (This requires socat to be
47 installed.) 59 installed.)
60
61 webtty
62 ---
63 webtty.js is a Node app which uses the terminal emulator to run a shell. It
64 includes NO SECURITY WHATSOEVER and should only be used for testing the
65 terminal emulator. Copy index-sh.html to index.html before running it.