commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r9208 - in trunk/gnue-samples/two-tier: . bin


From: johannes
Subject: [gnue] r9208 - in trunk/gnue-samples/two-tier: . bin
Date: Fri, 5 Jan 2007 04:53:08 -0600 (CST)

Author: johannes
Date: 2007-01-05 04:53:08 -0600 (Fri, 05 Jan 2007)
New Revision: 9208

Added:
   trunk/gnue-samples/two-tier/README
   trunk/gnue-samples/two-tier/bin/setup-db-svn.bat
   trunk/gnue-samples/two-tier/bin/setup-db.bat
   trunk/gnue-samples/two-tier/bin/setup-db.sh
Log:
More scripts and starting a readme


Added: trunk/gnue-samples/two-tier/README
===================================================================
--- trunk/gnue-samples/two-tier/README  2007-01-05 09:36:51 UTC (rev 9207)
+++ trunk/gnue-samples/two-tier/README  2007-01-05 10:53:08 UTC (rev 9208)
@@ -0,0 +1,39 @@
+
+This is a small sample application showing some ways of using GNUe
+
+
+INSTALLATION:
+-------------
+
+In order to use these samples make sure to have the database set up.
+
+If you're running an SVN copy use the script
+
+  bin/setup-db-svn.sh   (for *nix and OS X)
+  bin/setup-db-svn.bat  (for windows)
+
+If you're running an installed version of GNUe use
+  bin/setup-db.sh       (for *nix and OS X)
+  bun/setup-db-svn.bat  (for windows)
+
+This setup script creates a new sqlite3 database named 'sample.db' in the
+current working directory.
+
+
+FORMS:
+------
+
+To start a form (i.e. customer.gfd) use the argument
+--connection=etc/connections.conf to ensure GNUe is using the proper database
+connection
+
+On an SVN copy you might do:
+
+gfcvs --connections=etc/connections.conf forms/customer.gfd
+
+On an installed version:
+
+gnue-forms --connections=etc/connections.conf forms/customer.gfd
+
+Of course you could add the [sample] connection to your system's
+connections.conf in order to avoid adding the additional argument

Added: trunk/gnue-samples/two-tier/bin/setup-db-svn.bat
===================================================================
--- trunk/gnue-samples/two-tier/bin/setup-db-svn.bat    2007-01-05 09:36:51 UTC 
(rev 9207)
+++ trunk/gnue-samples/two-tier/bin/setup-db-svn.bat    2007-01-05 10:53:08 UTC 
(rev 9208)
@@ -0,0 +1 @@
+python gnue-schema --connections=etc/connections.conf --createdb 
--connection=sample schema/*.gsd

Added: trunk/gnue-samples/two-tier/bin/setup-db.bat
===================================================================
--- trunk/gnue-samples/two-tier/bin/setup-db.bat        2007-01-05 09:36:51 UTC 
(rev 9207)
+++ trunk/gnue-samples/two-tier/bin/setup-db.bat        2007-01-05 10:53:08 UTC 
(rev 9208)
@@ -0,0 +1 @@
+gnue-schema --connections=etc/connections.conf --createdb --connection=sample 
schema/*.gsd

Added: trunk/gnue-samples/two-tier/bin/setup-db.sh
===================================================================
--- trunk/gnue-samples/two-tier/bin/setup-db.sh 2007-01-05 09:36:51 UTC (rev 
9207)
+++ trunk/gnue-samples/two-tier/bin/setup-db.sh 2007-01-05 10:53:08 UTC (rev 
9208)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gnue-schema --connections=etc/connections.conf --createdb --connection=sample 
schema/*.gsd


Property changes on: trunk/gnue-samples/two-tier/bin/setup-db.sh
___________________________________________________________________
Name: svn:executable
   + *





reply via email to

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