Now that you have learnt what is TurboGears and how to install it, you want to get your hands dirty with it. This is really nice. I’m glad you’ve decided to do that. You won’t regret this decision. TurboGears is like that guitar you have always wanted to buy. Now that you have it, you can start to rock.
Let’s go into our virtual environment and quickstart a project.
cd ~/projects/tg2env source bin/activate paster quickstart -x -n -m example cd example python setup.py develop paster serve development.ini
What have we done:
- Went into our virtual environment and activated it.
- Created a project called “example” with no sqlalchemy, no authentication and authorization and with mako templates.
- We have initiated the project and ran the server.
Let’s see how “http://127.0.0.1:8080/” looks like.
Now go ahead and play along with it. Discover TurboGears. You can ask anything via the comments.