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 13 and Version 14 of QuickStart

08/24/06 09:42:07 (13 years ago)



  • QuickStart

    v13 v14  
    1 A possible replacement for the quickstart page. 
    3 Original discussion at http://groups.google.com/group/turbogears-docs/browse_thread/thread/40ad644e660f74b6/1ab3f360fb6b244b 
    5 ---- 
    7 {{{ 
    8 #!html 
    9     <div id="header">&nbsp;</div> 
    10 <div id="main_content"> 
    11   <div id="status_block"> Your TurboGears application is now running. </div> 
    12   <h1>Are you ready to gear up?</h1> 
    13   <div id="sidebar"> 
    14     <h2>Learn more</h2> 
    15     Learn more about TurboGears and take part in its 
    16     development 
    17     <ul class="links"> 
    18       <li><a href="http://www.turbogears.org">Official website</a></li> 
    19       <li><a href="http://docs.turbogears.org">Documentation</a></li> 
    20       <li><a href="http://trac.turbogears.org/turbogears/">Trac 
    21         (bugs/suggestions)</a></li> 
    22       <li><a href="http://groups.google.com/group/turbogears"> Mailing list</a> </li> 
    23     </ul> 
    24   </div> 
    25   <div id="getting_started"> 
    26     <p> Your journey into the land of easy web application 
    27       creation has begun. Take the following steps to dive right in: </p> 
    28     <ol id="getting_started_steps"> 
    29       <li class="getting_started"> 
    30         <h3>Design your model</h3> 
    31         <p> Develop your model in the <span class="code">model.py</span> file. 
    32           You can edit <span class="code">dev.cfg</span> to use a different backend. 
    33           Or just start with pre-configured SQLite database. </p> 
    34         <ul class="links"> 
    35           <li><a href="#">Learn more about designing models</a></li> 
    36           <li><a href="#">Learn more about database backends</a></li> 
    37         </ul> 
    38         <p> Run <span class="code">tg-admin sql create</span> to create the tables in the database. </p> 
    39       </li> 
    40       <li class="getting_started"> 
    41         <h3>Create your views</h3> 
    42         <p> Create your views with html-like templates in the <span class="code"><em>project-path/</em>templates</span> folder. 
    43           Static content(Javascript/CSS/Images) should be located in the <span class="code"> <em>project-path/</em>static</span> folder. </p> 
    44         <ul class="links"> 
    45           <li><a href="#">Learn more about views</a></li> 
    46           <li><a href="#">Learn more about defining static content</a></li> 
    47         </ul> 
    48       </li> 
    49       <li class="getting_started"> 
    50         <h3>Build your controllers</h3> 
    51         <p> Edit <span class="code"> <em>project-path/</em>controllers.py</span> and build your 
    52           website structure with the simplicity of Python objects. </p> 
    53         <p> </p> 
    54         <ul class="links"> 
    55           <li><a href="#">Learn more about controllers</a></li> 
    56         </ul> 
    57       </li> 
    58       <li class="getting_started"> 
    59         <h3>And more&hellip;</h3> 
    60         <p> There are many other cool things you can do with 
    61           TurboGears. Please check out our <a href="docs.turbogears.org">documentation</a>. </p> 
    62         <p> </p> 
    63         <p> If you create something cool, please <a href="http://groups.google.com/group/turbogears">let people know</a> about your great work and consider contributing something back to the community. 
    64           TurboGears is an open source project whose vitality comes  
    65           from developers like you. </p> 
    66       </li> 
    67     </ol> 
    68     <div class="notice"> Note that TurboGears will automatically reload itself when you 
    69       modify your project, so all you need to do after saving your 
    70       files is reloading the page in your browser. </div> 
    71   </div> 
    72   <!-- End of getting_started --> 
    73 </div> 
    74 }}} 
     1This doc had moved to