Changeset 5202 for projects/tg.devtools
- Timestamp:
- 08/22/08 13:53:18 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/tg.devtools/trunk/devtools/templates/turbogears/README.txt_tmpl
r4488 r5202 5 5 ====================== 6 6 7 Install ``{{project}}`` using easy_install::7 Install ``{{project}}`` using the setup.py script:: 8 8 9 easy_install {{project}} 9 $ cd {{project}} 10 $ python setup.py install 10 11 11 Make a config file as follows::12 Create the project database for any model classes defined:: 12 13 13 paster make-config {{project}} config.ini14 $ paster setup-app development.ini 14 15 15 Tweak the config file as appropriate and then setup the application::16 Start the paste http server:: 16 17 17 paster setup-app config.ini 18 $ paster serve development.ini 19 20 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:: 21 22 $ paster serve --reload development.ini 18 23 19 24 Then you are ready to go.