config { engine CGI; template_engine TT; Init Std { } CGI Gantry { with_server 1; } Control Gantry { } SQL Postgres { } Model GantryCDBI { } SiteLook GantryDefault { gantry_wrapper `/home/pcrow/srcgantry/root/sample_wrapper.tt`; } } app Contact { config { dbconn `dbi:Pg:dbname=contact` => no_accessor; dbuser some_user => no_accessor; dbpass `$ecret` => no_accessor; template_wrapper `genwrapper.tt` => no_accessor; root `/home/pcrow/Contact/html:/home/pcrow/gan/root` => no_accessor; } authors `Phil Crow` => `philcrow2000@yahoo.com`; sequence contact_seq {} table contact { sequence contact_seq; field id { is int4, primary_key, auto; } field name { is varchar; label Name; html_form_type text; } field phone { is varchar; label Phone; html_form_type text; } } controller Contacts is AutoCRUD { rel_location contacts; controls_table contact; text_description Contact; method do_main is main_listing { cols name, phone; header_options Add; row_options Edit, Delete; title `Contact Management`; } method form is AutoCRUD_form { all_fields_but id; } } } #### bigtop --create contact.bigtop all cd Contact createdb contact -U postgres psql contact -U regular_user < docs/schema.postgres ./app.server [ port_defaults_to_8080 ] #### bigtop docs/contact.bigtop all #### Init Std { no_gen 1; } #### tentmaker [--port=8081]