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 8 (modified by Kaan, 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. If SQLite is installed, your database is already set up but you can edit dev.cfg to use a different backend.

  2. Build your controllers

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

  3. Create your views

    Create your views with html-like templates. Place the templates in the project-path/ templates folder.

    Static content, such as Javascript/CSS/Images, should be located in the project-path/static folder.

  4. And more…

    There are many other cool things you can do with TurboGears – AJAX, Widgets, the Identity framework and unit tests. You can run tg-admin toolbox to try our interactive TurboGears toolbox with model designer, i18n administration and other goodies.

    Please check out our documentation if you want to learn more…

    If you create something cool, consider contributing back to the community. If you're unable to contribute, feel free to drop us a line anyways. 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.