Skip to content

wvega/tg-advanced-authentication

Repository files navigation

Example TurboGears 2 project for post "Advanced Authentication in TurboGears 2".

Installation and Setup

Install tg-advanced-authentication using the setup.py script::

$ cd tg-advanced-authentication
$ python setup.py install

Create the project database for any model classes defined::

$ paster setup-app development.ini

Start the paste http server::

$ paster serve development.ini

While developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the --reload option::

$ paster serve --reload development.ini

Then you are ready to go.