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

SF.net SVN: ledger-smb: [983] branches/1.2



Revision: 983
          http://svn.sourceforge.net/ledger-smb/?rev=983&view=rev
Author:   einhverfr
Date:     2007-03-22 13:17:00 -0700 (Thu, 22 Mar 2007)

Log Message:
-----------
Adding OpenBSD database creation workaround documentation:

Modified Paths:
--------------
    branches/1.2/INSTALL

Added Paths:
-----------
    branches/1.2/README.OpenBSD

Modified: branches/1.2/INSTALL
===================================================================
--- branches/1.2/INSTALL	2007-03-22 19:02:31 UTC (rev 982)
+++ branches/1.2/INSTALL	2007-03-22 20:17:00 UTC (rev 983)
@@ -14,6 +14,8 @@
 ============================
  
 Debian users should read README.debian
+
+OpenBSD users, please consult the README.OpenBSD
  
 For Unix systems, '$' signifies the bash prompt, '=>' the psql prompt.
  

Added: branches/1.2/README.OpenBSD
===================================================================
--- branches/1.2/README.OpenBSD	                        (rev 0)
+++ branches/1.2/README.OpenBSD	2007-03-22 20:17:00 UTC (rev 983)
@@ -0,0 +1,31 @@
+Known issues with OpenBSD:
+=============================
+
+1)  Dataset creation does not work on OpenBSD
+
+Workaround:  Create the database manually.
+These instructions assume you are in the LedgerSMB root directory
+(/usr/local/ledgersmb/ by default).
+
+From the shell, create the database:
+$ createdb -U postgres lsmbdata
+
+Install PLPGSQL into that database:
+$ createlang -U postgres -d lsmbdata plpgsql
+
+Connect to the database:
+$ psql -U ledgersmb lsmbdata
+
+Import the Pg-database file:
+=> \i sql/Pg-database.sql
+
+Import the apropraite chart of accounts (these are all listed in the sql 
+directory with file names ending in chart.sql).  For this example, we will use
+Default-chart.sql, but if there is a local version you should use that:
+
+=> \i sql/Default_chart.sql
+
+If there is a local GIFI file (ending in -gifi.sql), for your chart, load that
+in the same way.
+
+Your database should be ready for use.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.