Bug#703645: ITP: postbooks - ERP, CRM and accounting software
Package: wnpp
Severity: wishlist
Owner: Daniel Pocock <daniel@pocock.com.au>
Upstream:
http://www.xtuple.org
https://www.xtuple.com/postbooks
License: CPAL (derived from Mozilla)
https://www.xtuple.com/CPAL
Initial observations:
Depends on openrpt and csvimp (from the same upstream)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338784
I've done a successful build of openrpt, csvimp and xtuple (the main
package) from SVN on a squeeze system
Here are some observations:
Fetch build dependencies:
apt-get install qt4-qmake libqt4-dev
Checkout source:
svn co https://svn.code.sf.net/p/postbooks/code/openrpt/trunk openrpt
svn co https://svn.code.sf.net/p/postbooks/code/csvimp/trunk csvimp
svn co https://svn.code.sf.net/p/postbooks/code/xtuple/trunk xtuple
cd openrpt && qmake && make && \
cd ../csvimp && qmake && make && \
cd ../xtuple && qmake && make
Fetch runtime dependencies:
apt-get install postgres libqt4-sql-psql postgresql-contrib-9.1
Do the postgres setup:
Get a copy of init.sql and a default database (e.g. demo or quickstart)
from sourceforge
https://sourceforge.net/projects/postbooks/files/03%20PostBooks-databases/
Here I am using the default password admin from init.sql, change it for
a real setup of course:
su
su - postgres
psql -U postgres -f /tmp/init.sql postgres
createdb -U admin -W -h localhost xtuple
pg_restore -U admin -W -h localhost -d xtuple quickstart.backup -v
and then run
xtuple/bin/xtuple
If there is an error about the database not matching the xtuple version,
download another database or if feeling brave, just edit
guiclient/version.cpp to match the database version from the error message
Reply to: