Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doublec/urweb-clock

An example Ur/Web application to display server time
https://github.com/doublec/urweb-clock

Last synced: about 2 months ago
JSON representation

An example Ur/Web application to display server time

Awesome Lists containing this project

README

        

# Ur/Web Example

This is simple example of using Ur/Web and Marc Weber's process execution library. The Ur/Web application displays a web page that displays the server's time updated every second or so by executing 'date' on the server.

Requires:

* Ur/Web - http://www.impredicative.com/ur/
* uw-process - http://gitorious.org/some-urweb-utility-libraries/uw-process

To build:

$ git clone git://github.com/doublec/urweb-clock
$ cd urweb-clock
$ git submodule init
$ git submodule update
$ make

It assumes Ur/Web is installed in /usr/local.

To run:

$ ./clock.exe

This runs a webserver on port 8080. accessing http://localhost:8080/main in a web browser will show the page.