[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6221 - in trunk/gnue-appserver: . samples
From: |
reinhard |
Subject: |
r6221 - in trunk/gnue-appserver: . samples |
Date: |
Thu, 26 Aug 2004 12:02:36 -0500 (CDT) |
Author: reinhard
Date: 2004-08-26 12:02:35 -0500 (Thu, 26 Aug 2004)
New Revision: 6221
Added:
trunk/gnue-appserver/samples/sample.gpd
Removed:
trunk/gnue-appserver/samples/appserver.gpd
Modified:
trunk/gnue-appserver/MANIFEST.in
trunk/gnue-appserver/samples/README
trunk/gnue-appserver/samples/README.cvs
trunk/gnue-appserver/samples/setup-cvs-db.sh
trunk/gnue-appserver/samples/setup-db.sh
Log:
Updated samples to make use of gld features.
Modified: trunk/gnue-appserver/MANIFEST.in
===================================================================
--- trunk/gnue-appserver/MANIFEST.in 2004-08-26 16:57:12 UTC (rev 6220)
+++ trunk/gnue-appserver/MANIFEST.in 2004-08-26 17:02:35 UTC (rev 6221)
@@ -34,7 +34,7 @@
include samples/README
include samples/*.g?d
-include samples/*.sh
+include samples/setup-db.sh
include scripts/gnue-*
Modified: trunk/gnue-appserver/samples/README
===================================================================
--- trunk/gnue-appserver/samples/README 2004-08-26 16:57:12 UTC (rev 6220)
+++ trunk/gnue-appserver/samples/README 2004-08-26 17:02:35 UTC (rev 6221)
@@ -20,33 +20,22 @@
with some basic information.
For PostgreSQL, Interbase/Firebird, or SQLite:
-----------------------------------------------
+* execute the script 'setup-db.sh' and you're done
-Execute the script 'setup-db.sh' and you're done. This script will do all the
-dirty work for you
-
-
All other backends:
--------------------
+* create your database as described in your database documentation
+* make sure you have access to this database and it fits your settings in the
+ connections.conf
+* run "gnue-schema --connection=gnue base.gsd" - this will create all tables
+ needed for the classrepository
+* run "gnue-readgcd --connection=gnue auth.gcd sample.gcd" - this will create
+ the sample classes
+* run "gnue-readgld --connection=gnue base*.gld sample*.gld" - this will add
+ the info necessary for appserver to dynamically generate forms
+* run "gnue-schema --connection=gnue sample.gsd" - this will add sample data
+ for the sample classes
-First create your database as described in your database documentation. Make
-sure you have access to this database and it fits your settings in the
-connections.conf. The call the following programs
-gnue-schema --connection=gnue base.gsd
-
- This will create all tables needed for the classrepository
-
-gnue-readgcd --connection=gnue auth.gcd sample.gcd
-
- This will create the sample classes and updates the classrepository
-
-gnue-schema --connection=gnue sample.gsd
-
- This will add sample data for the sample classes
-
-
-
Running the Application Server
------------------------------
@@ -65,7 +54,10 @@
There are two users you can choose from to test: "test" (with password "test")
and "hacker" (with password "secret")
+Alternatively, you can let AppServer generate the form dynamically by calling
+"gnue-forms appserver://appserver/form/address_person".
+
Other Samples
=============
Modified: trunk/gnue-appserver/samples/README.cvs
===================================================================
--- trunk/gnue-appserver/samples/README.cvs 2004-08-26 16:57:12 UTC (rev
6220)
+++ trunk/gnue-appserver/samples/README.cvs 2004-08-26 17:02:35 UTC (rev
6221)
@@ -1,2 +1,8 @@
-To use gnue-schema (gsscvs) described in the README file, you have to download
-gnue-common from cvs in the same directory you have downloaded gnue-appserver.
+To try GNUe-AppServer, please follow the procedure given in the README file,
+but note that the cvs versions of the commands have different names:
+
+setup-db.sh --> setup-cvs-db.sh
+gnue-schema --> gsscvs
+gnue-readgcd --> gcdcvs
+gnue-readgld --> gldcvs
+gnue-appserver --> gacvs
Deleted: trunk/gnue-appserver/samples/appserver.gpd
===================================================================
--- trunk/gnue-appserver/samples/appserver.gpd 2004-08-26 16:57:12 UTC (rev
6220)
+++ trunk/gnue-appserver/samples/appserver.gpd 2004-08-26 17:02:35 UTC (rev
6221)
@@ -1,17 +0,0 @@
-<?xml version="1.0"?>
-
-<processes title="GNUe Application Server">
- <process title="Address Person" id="sample">
- <step type="form" location="appserver://appserver/form/address_person"
- title="Address Person"/>
- <step type="form" location="./sample.gfd"
- title="Address management"/>
- <step type="report" location="./sample.grd"
- title="Address list"/>
- </process>
- <process title="Server Setup">
- <step type="form" location="./classrepository.gfd"
- title="GNUe Appserver Class Repository"/>
- </process>
-</processes>
-
Copied: trunk/gnue-appserver/samples/sample.gpd (from rev 6217,
trunk/gnue-appserver/samples/appserver.gpd)
===================================================================
--- trunk/gnue-appserver/samples/appserver.gpd 2004-08-26 15:37:34 UTC (rev
6217)
+++ trunk/gnue-appserver/samples/sample.gpd 2004-08-26 17:02:35 UTC (rev
6221)
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<processes title="GNUe Application Server">
+ <process title="Address Person" id="sample">
+ <step type="form" location="appserver://appserver/form/address_person"
+ title="Address management (automatically generated form)"/>
+ <step type="form" location="./sample.gfd"
+ title="Address management (manually created form)"/>
+ <step type="report" location="./sample.grd"
+ title="Address list"/>
+ </process>
+ <process title="Server Setup">
+ <step type="form" location="./classrepository.gfd"
+ title="GNUe Appserver Class Repository"/>
+ </process>
+</processes>
+
Modified: trunk/gnue-appserver/samples/setup-cvs-db.sh
===================================================================
--- trunk/gnue-appserver/samples/setup-cvs-db.sh 2004-08-26 16:57:12 UTC
(rev 6220)
+++ trunk/gnue-appserver/samples/setup-cvs-db.sh 2004-08-26 17:02:35 UTC
(rev 6221)
@@ -2,4 +2,5 @@
gsscvs --connection=gnue --createdb base.gsd
gcdcvs --connection=gnue auth.gcd sample.gcd
+gldcvs --connection=gnue base-*.gld sample-*.gld
gsscvs --connection=gnue sample.gsd
Property changes on: trunk/gnue-appserver/samples/setup-cvs-db.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/gnue-appserver/samples/setup-db.sh
===================================================================
--- trunk/gnue-appserver/samples/setup-db.sh 2004-08-26 16:57:12 UTC (rev
6220)
+++ trunk/gnue-appserver/samples/setup-db.sh 2004-08-26 17:02:35 UTC (rev
6221)
@@ -2,4 +2,5 @@
gnue-schema --connection=gnue --createdb base.gsd
gnue-readgcd --connection=gnue auth.gcd sample.gcd
+gnue-readgld --connection=gnue base-*.gld sample-*.gld
gnue-schema --connection=gnue sample.gsd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6221 - in trunk/gnue-appserver: . samples,
reinhard <=