Install GNUe CVS Snapshot on Windows mini-HOWTO

Jan Ischebeck <mail@jan-ischebeck.de>

v0.03, 2003-11-22

This mini HOWTO describes how to get the GNUenterprise packages release 0.5.x to work on Windows 98 in combination with for example PostgreSQL or MySQL)

3. The uidriver packages (you need at least one)

3.1 wxPython (required for wxwindows uidriver)

3.2 gtk2 (required for gtk2 uidriver)

   on win98/ME:
- append C:\Program Files\Common Files\GTK\2.0\lib;c:\python22\python
- to your set path line in c:\autoexec.bat

   on w2k/XP:
- Start menu ->Control Panel->System->Special
- in Environment Variables
- append C:\Program Files\Common Files\GTK\2.0\lib;c:\python22\python to your path

    1. open regedit
2. add new key called "Path" with content "C:\Program Files\Common Files\GTK\2.0\lib"
to both "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\Python.exe" and
"....PythonWin.exe"

     import gtk [ENTER]

     it should not raise any error

3.3 win32all (required for win32 uidriver)

4. Database driver for python

4.1 Mysql driver

4.2 Postgresql driver

4.3 Firebird/Interbase driver

5 The GNUe Tools

5.1 Preparations

Then:

     C:\python22\python.exe setup.py install

5.2 Install

Repeat these steps for the modules GNUe-Designer, GNUe-Forms, GNUe-AppServer and GNUe-Navigator

5.3 Convinence

         C:\python22\python C:\python22\Scripts\gnue-forms %1 %2 %3 %4 %5 %6 %7 %8 %9

6. Configuring GNUe

GNUe provides a few sample config files which can be used to set it up for your system. These are located in etc in your Python directory.

6.1 Connections.conf

Next connections.conf needs to be setup so it can connect to your database. There are some examples in that file, alter one to suit your needs and comment out the rest. Mine looks like this:

   [test]
comment = Test Database
provider = postgresql
host = localhost
dbname = test

After this its possible to run the designer and connect to the database and create your first form using the wizard.

6.2 gnue.conf

7. Update