My favorites | Sign in
Project Home Downloads Issues Source
Project Information
Members
Links

DEMO

INSTALL

The default database is a sqlite and it's stored in the dir where you run the tginvoice-start command.

The file name is devdata.sqlite.

To change it see:

	# sqlalchemy.dburi="postgres://username@hostname/databasename"
	# sqlalchemy.dburi="mysql://username:password@hostname:port/databasename"
	# sqlalchemy.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"

To install all the needed dependencies:

	# easy_install http://tginvoice.googlecode.com/files/tgMochiKit-0.1alpha.tar.gz
	# easy_install http://svn.turbogears.org/branches/1.1/
	# easy_install reportlab

EASY INSTALL

	# easy_install tginvoice
	# tginvoice-admin add biller example/biller.csv
	# tginvoice-admin add customer example/customers.csv
        # tginvoice-start

SVN

	# svn co http://tginvoice.googlecode.com/svn/trunk/ tginvoice
	# cd tginvoice
	# python tginvoice-admin.py add biller example/biller.csv
	# python tginvoice-admin.py add customer example/customers.csv
	# python tginvoice-start.py

CUSTOMIZING

The rml template (used to generate pdf) is stored as:

	static/rml/<user_name>@invoice.html

and the logo as::

	static/rml/<user_name>@logo.png

If the rml is not found the default one will be used:

	static/rml/invoice.html
Powered by Google Project Hosting