Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 1 and Version 2 of QuickStart


Ignore:
Timestamp:
06/25/06 00:34:26 (11 years ago)
Author:
fredlin
Comment:

script-fred-00

Legend:

Unmodified
Added
Removed
Modified
  • QuickStart

    v1 v2  
    1 Congratulations, your TurboGears application is running as of Sun Jun 25 11:34:10 2006. 
    2 Are you ready to Gear Up? 
     1Title Bar 
     2---- 
    33 
     4A Notice Field 
     5{{{ 
     6Your TurboGears application is up and running 
     7since Sun Jun 25 11:34:10 2006. 
     8}}} 
     9 
     10== Learn more == 
     11Learn more about TurboGears and take part in its development 
     12 
     13    * [http://www.turbogears.org/ Official website] 
     14    * [http://docs.turbogears.org/ Documentation] 
     15    * [http://trac.turbogears.org/turbogears/ Unofficial docs/Suggestions] 
     16    * [http://groups.google.com/group/turbogears Mailing list] 
     17 
     18= Are you ready to gear up? = 
     19Your journey into the land of rapid web application development has started.  
    420Take the following steps to dive right in: 
    521 
    6    1. Edit your project's model.py to create SQLObjects representing the data you're working with 
    7    2. Edit your dev.cfg file to point to the database you'll be using 
    8    3. Run "tg-admin sql create" to create the tables in the database 
    9    4. Edit controllers.py to add the functionality to your webapp 
    10    5. Change the master.kid template to have the headers and footers for your application. 
    11    6. Change welcome.kid (this template) or create a new one to display your data 
    12    7. Repeat steps 4-6 until done. 
    13    8. Profit! 
     22== Getting started == 
    1423 
    15 If you haven't already, you might check out some of the documentation. 
     241. Create your model 
    1625 
    17 Thanks for using TurboGears! See you on the mailing list and the "turbogears" channel on irc.freenode.org! 
     26    Start development immediately with the [# pre-configured SQLite database], 
    1827 
    19 TurboGears under the hood  
     28    or edit the dev.cfg file to use a different database.  
     29 
     30    Create your model in [http://docs.turbogears.org/0.9/gt_defining_model model.py] or use [http://docs.turbogears.org/0.9/toolbox Toolbox] for a nice GUI. 
     31 
     32{{{ 
     33if you are not sure, install pysqlite module by $ easy_install pysqlite 
     34}}} 
     35 
     362. Build your controllers 
     37    Edit "project-path/controllers.py" and [http://docs.turbogears.org/0.9/gt_cpexposed build your website structure] with Python objects. 
     38 
     393. Design your view 
     40    [# Edit your templates] in the "project-path/templates" folder. 
     41 
     42    Place Static content (css, javascript and images) in the "project-path/static" 
     43directory. 
     44 
     45{{{ 
     46    Change the master.kid template to have the headers and footers for your application. 
     47    Change welcome.kid (this template) or create a new one to display your data 
     48}}} 
     49 
     504. And more... 
     51    There are many cool things you can do to take your application to the next level. 
     52    such as easy AJAX with [http://docs.turbogears.org/0.9/gt_mochikit Mochikit] and [http://docs.turbogears.org/0.9/gt_json JSON], or take advantage of [http://docs.turbogears.org/0.9/widgets widgets], [http://docs.turbogears.org/0.9/identity identity], [http://docs.turbogears.org/0.9/scheduler scheduler], [http://docs.turbogears.org/0.9/index testing] and more. 
     53 
     54= Good luck making your killer app! = 
     55 
     56If you create something cool, consider [http://groups.google.com/group/turbogears contributing back to the community]. 
     57 
     58TurboGears is an open source project whose vitality comes from users and developers like you.  
     59 
     60 
     61---- 
     62foot icon 
     63 
     64TurboGears is a open source front-to-back web development framework written in Python 
     65 
     66Copyright © 2006 Kevin Dangoor