Chapter 2.2. Creating a Hello World Application

Okay, now that you have TurboGears and SQLite installed (or another database if you chose that route), you are ready to start your first TurboGears application. This is easier than it looks.

TurboGears provides a command-line administrative interface to help you with common development tasks, from creating a new project to opening up a database and creating all the tables necessary to hold your data. But more about all of that later, for now let’s just use the tg-admin command to create a new application.

This couldn’t be simpler, you just open up a command prompt window and type the following:

tg-admin quickstart

You are then asked for the name of your project. For this first project, just ...

Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.