|
From: | Sebastian Hilbert |
Subject: | [Gnumed-devel] GNUmed web interface |
Date: | Thu, 19 May 2011 12:12:06 +0200 |
User-agent: | KMail/1.13.6 (Linux/2.6.38.4-23-desktop; KDE/4.6.0; i686; ; ) |
HI all, Git needs a change to make the web interface work again since the config file has changed with regards to the database version. So please change the line 335 in gmWebGuiServer.py
DEFAULT_BACKEND = "GNUmed database on this machine (Linux/Mac) (gnumed_v15@)" to DEFAULT_BACKEND = 'GNUmed database on this machine ("local": Linux/Mac) (gnumed_v16@)' The profile is currently hardcoded in that file. Later on there should be a way to pick it from a list. However due to security restrictions it is not possible to use one instance of the webapp on server x connecting to database on server y. Connections can only be made from server x (serving the client) to server x (acting as database server). When providing a pick list in the login dialog I expect users to set up a config file running the webinterface locally by staring gm-from-vcs.sh --ui=web and trying picking profile public server. This will not work since the client app is running on server x (their PC) and profile points to server y (publicdb.gnumed.de). This will only work when the client is run on publicdb.gnumed.de as well (in other words demo client).
|
[Prev in Thread] | Current Thread | [Next in Thread] |