You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.html 1.4KB

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>README.html</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

</head>

<body>

<h1><img src="demo-logo.png" alt="demo logo" /> demo</h1>

<p>A fake terminal cleans up user input and sends it to the server. The server then parses the input, and if it matches a predefined command, spawns a child process of that command/program. I really liked the ability to try out haskell interactively <a href="https://www.haskell.org/">here</a> and <a href="https://tryhaskell.org/">here</a>, so this is something like that.</p>

<p><img src="demo.png" alt="demo screenshot" /></p>

<h1>installation and running</h1>

<p>```sh</p>

<h1>install dependencies</h1>

<p>npm install</p>

<h1>copy example config</h1>

<p>cp config-example.js config.js</p>

<h1>edit key, certificate, and passphrase information</h1>

<p>nano config.js</p>

<h1>run server (if no port number is provided, 12345 in this example, the server will default to port 8181)</h1>

<p>node server.js 12345</p>

<h1>edit server information</h1>

<p>nano demo.js</p>

<h1>then you can connect to the server from a client (e.g. client-example.html)</h1>

<p>```</p>

<h1>uninstallation</h1>

<p>```sh</p>

<h1>remove this directory</h1>

<p>rm -rfI demo
```</p>

</body>
</html>