|
BuildingAndRunning
Instructions to build and run the Hangover web server
Hangover enables you to write server-side JavaScript. It is a simple C++ HTTP Server using Google's V8 engine to execute JavaScript. It should not be used for anything serious; it barely works. Hangover depends on:
To install in Ubuntu, sudo apt-get install libevent-dev
Download to $V8PATH and build by running scons To build Hangover: $ svn checkout http://hangover.googlecode.com/svn/trunk/ hangover $ cd hangover $ make V8=$V8PATH $ ./hangover example.js You can then fetch the page by visiting http://localhost:8888/. See example.js and web.js - it should be easy to modify. |
Sign in to add a comment