[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] GNUmed web client - demo available

From: Sebastian Hilbert
Subject: [Gnumed-devel] GNUmed web client - demo available
Date: Mon, 19 Jul 2010 10:24:04 +0200
User-agent: KMail/1.13.3 (Linux/2.6.33-6-desktop; KDE/4.4.5; i686; ; )

For those of you who did not follow the discussion on the technical aspects of a web interface for GNUmed here is a short summary. I have looked at many web interfaces and learned quite a bit about existing web frameworks. It turned out that none of the existing frameworks fit our needs. This is due to the fact that the web is designed to fire and forget while GNUmed wants a persisten connection to the database. Second aspect was that we wanted database access done by Postgresql itself rather then duplicating that inside a database (which seems to be industry standard).

Long story short. Luke Leighton from pyjamas came to help us and invested a substantial amount of time to get things rolling. A first working version was recently referenced in this article. All of the code that makes it work has recently been merged into the main GNUmed code repository.

If makes use of pyjamas, cjson and multitaskhttpd.

Here is how you can try it out and start improving it. This guide assumes you have GNUmed running already.

1.) Get and install lovely-jsonrpc

* wget
* unpack it
* cd lovely-jsonrpc
* python install

2.) get and install cjson

* e.g. python-cjson on Debian

3.) get multitaskhttpd

* git clone git://
* cd multitaskhttpd
* python &

4.) get pyjamas

* git clone git://
* cd pyjamas
* python
* cd bin
* put pyjsbuild into the PATH or symlink into ProxiedWeb directory of GNUmed

5.) get GNUmed from git master as tgz or a git clone. Go to gitorious for instructions.

6.) compile the pyjamas application in the GNUmed source tree

* cd ProxiedWeb
* run (make sure pyjsbuild can be be found on your system)

7.) start GNUmed like this: ./ --ui=web

8.) open a webbrowser and go to http://localhost:8080/ProxiedWeb/jsonrpc/output/JSONRPCExample.html

If you want to hack on it have a look at It is a pyjamas application. This should be moved to the wiki in the developer section for reference.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]