Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1864

Show
Ignore:
Timestamp:
01/13/08 22:30:18
Author:
fumanchu
Message:

Better scaffold docstrings.

Files:

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 
     3Use this as a base for creating new CherryPy applications. When you want 
     4to 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, 
     6then tweak as desired. 
     7 
     8Even before any tweaking, this should serve a few demonstration pages. 
     9Change to this directory and run: 
     10 
     11    python cpdeploy.py --config=example.conf 
     12 
     13""" 
    214 
    315import cherrypy 
  • trunk/cherrypy/scaffold/cpdeploy.py

    r1863 r1864  
    11#! /usr/bin/env python 
    2 """Deployment script for <MyProject> (a CherryPy application).""" 
     2"""Deployment script for <MyProject> (a CherryPy application). 
     3 
     4Run this from the command-line and give it a --config argument: 
     5 
     6    python cpdeploy.py --config=example.conf 
     7 
     8""" 
    39 
    410import os 

Hosted by WebFaction

Log in as guest/cpguest to create tickets