Show
Ignore:
Timestamp:
08/22/08 13:53:18 (5 months ago)
Author:
sanjiv
Message:

paster commands added in README.txt_tmpl

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/tg.devtools/trunk/devtools/templates/turbogears/README.txt_tmpl

    r4488 r5202  
    55====================== 
    66 
    7 Install ``{{project}}`` using easy_install:: 
     7Install ``{{project}}`` using the setup.py script:: 
    88 
    9     easy_install {{project}} 
     9    $ cd {{project}} 
     10    $ python setup.py install 
    1011 
    11 Make a config file as follows:: 
     12Create the project database for any model classes defined:: 
    1213 
    13     paster make-config {{project}} config.ini 
     14    $ paster setup-app development.ini 
    1415 
    15 Tweak the config file as appropriate and then setup the application:: 
     16Start the paste http server:: 
    1617 
    17     paster setup-app config.ini 
     18    $ paster serve development.ini 
     19 
     20While 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:: 
     21 
     22    $ paster serve --reload development.ini 
    1823 
    1924Then you are ready to go.