https://github.com/doublec/urweb-clock
An example Ur/Web application to display server time
https://github.com/doublec/urweb-clock
Last synced: 3 months ago
JSON representation
An example Ur/Web application to display server time
- Host: GitHub
- URL: https://github.com/doublec/urweb-clock
- Owner: doublec
- Created: 2010-12-14T09:39:59.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-12-14T09:41:33.000Z (over 14 years ago)
- Last Synced: 2025-01-08T03:14:31.495Z (4 months ago)
- Homepage: http://www.bluishcoder.co.nz/2010/12/14/simple-urweb-example.html
- Size: 93.8 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-urweb - urweb-clock - Displays a web page that displays the server's time updated every second or so by executing `date` on the server (Demos)
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-processTo build:
$ git clone git://github.com/doublec/urweb-clock
$ cd urweb-clock
$ git submodule init
$ git submodule update
$ makeIt 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.