Tuesday, September 2, 2008

Learning TurboGears

install TurboGears
# sudo python tgsetup.py

install Easy_Install
# sudo python ez_setup.py

install SQLObject
# sudo easy_install SQLObject

install Postgres module

create database
# createdb wiki20 -U postgres -O postgres -E 'UTF8'

create the database schema directly from the model structure within turbogears
tg-admin sql create



No comments: