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

Version 13 (modified by fredlin, 13 years ago) (diff)

--

A possible replacement for the quickstart page.

Original discussion at  http://groups.google.com/group/turbogears-docs/browse_thread/thread/40ad644e660f74b6/1ab3f360fb6b244b


Your TurboGears application is now running.

Are you ready to gear up?

Your journey into the land of easy web application creation has begun. Take the following steps to dive right in:

  1. Design your model

    Develop your model in the model.py file. You can edit dev.cfg to use a different backend. Or just start with pre-configured SQLite database.

    Run tg-admin sql create to create the tables in the database.

  2. Create your views

    Create your views with html-like templates in the project-path/templates folder. Static content(Javascript/CSS/Images) should be located in the project-path/static folder.

  3. Build your controllers

    Edit project-path/controllers.py and build your website structure with the simplicity of Python objects.

  4. And more…

    There are many other cool things you can do with TurboGears. Please check out our documentation.

    If you create something cool, please let people know about your great work and consider contributing something back to the community. TurboGears is an open source project whose vitality comes from developers like you.

Note that TurboGears will automatically reload itself when you modify your project, so all you need to do after saving your files is reloading the page in your browser.