Changeset 1864
- Timestamp:
- 01/13/08 22:30:18
- Files:
-
- trunk/cherrypy/scaffold/__init__.py (modified) (1 diff)
- trunk/cherrypy/scaffold/cpdeploy.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/scaffold/__init__.py
r1863 r1864 1 """<MyProject>, a CherryPy application.""" 1 """<MyProject>, a CherryPy application. 2 3 Use this as a base for creating new CherryPy applications. When you want 4 to make a new app, copy and paste this folder to some other location 5 (maybe site-packages) and rename it to the name of your project, 6 then tweak as desired. 7 8 Even before any tweaking, this should serve a few demonstration pages. 9 Change to this directory and run: 10 11 python cpdeploy.py --config=example.conf 12 13 """ 2 14 3 15 import cherrypy trunk/cherrypy/scaffold/cpdeploy.py
r1863 r1864 1 1 #! /usr/bin/env python 2 """Deployment script for <MyProject> (a CherryPy application).""" 2 """Deployment script for <MyProject> (a CherryPy application). 3 4 Run this from the command-line and give it a --config argument: 5 6 python cpdeploy.py --config=example.conf 7 8 """ 3 9 4 10 import os

