diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-22 20:17:00 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-22 20:17:00 +0000 |
commit | 30258a15ab71b3146897f7ce98c8230ba01c1f0f (patch) | |
tree | dce864f885362668216990eae0842ed8ac1b16a9 /README.OpenBSD | |
parent | f1109715281869813216bfaaf16d9b49128445c5 (diff) |
Adding OpenBSD database creation workaround documentation:
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@983 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'README.OpenBSD')
-rw-r--r-- | README.OpenBSD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/README.OpenBSD b/README.OpenBSD new file mode 100644 index 00000000..d10ce7aa --- /dev/null +++ b/README.OpenBSD @@ -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. |