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

Changes between Version 77 and Version 78 of IdentityManagement


Ignore:
Timestamp:
07/28/06 09:35:22 (13 years ago)
Author:
fredlin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IdentityManagement

    v77 v78  
    99== A. Quick-Start == 
    1010 
    11 To begin with the tutorial, let's quick-start a learning project. Of course, everything you learn in the tutorial applies to existing projects as well. 
    12  
    13 TurboGears currently support two provider: SQLObject(default) and SQLAlchemy. 
     11To begin with the tutorial, let's quick-start a learning project "identity_tutorial". Of course, everything you learn in the tutorial applies to existing projects as well. 
     12 
     13TurboGears currently support two provider: SQLObject and SQLAlchemy. 
     14 
    1415To start with SQLObject, type 
    1516 
     
    2021 
    2122To start with SQLAlchemy, type 
     23 
    2224{{{ 
    2325#!python 
    2426$ tg-admin quickstart -s identity_tutorial 
    2527}}} 
     28 
    2629"-s" option is used to indicate the SQLAlchemy support. 
    2730 
    2831 
    29 Name your project "identity_tutorial".  
    3032After you specified the project name. a identity prompt will pop up: 
    3133 
    3234{{{ 
    33 Do you need Identity (usernames/passwords) in this project? [no] 
    34 }}} 
    35  
    36 This tutorial wouldn't go very far if we didn't enable identity, so go ahead and type "yes".  
     35Do you need Identity (usernames/passwords) in this project? [no]y 
     36}}} 
     37 
     38This tutorial wouldn't go very far if we didn't enable identity, so go ahead and type "y"(or type "Yes").  
    3739The quickstart will generate the new project(if not exist) and append the identity-related code.  
    3840 
    39 set the database uri in "identity_tutorial/dev.cfg" to point to a server and database you want to use.   
     41Now You can use the full power of identity management. You can set the database uri in "identity_tutorial/dev.cfg" to point to a server and database you want to use.   
    4042 
    4143== B. Setting up Identity == 
     
    6365=== Step 2 - Adding an initial user and group === 
    6466 
    65 Of course, we will need at least one group and one user account to work with. Let's create these with CatWalk 
     67Of course, we will need at least one group and one user account to work with.  
     68 
     69You can adding user and group via tg-admin shell. If you choose SQLObject, you can create user and group with CatWalk.  
    6670 
    6771Start {{{Turbogears}}} toolbox