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 8 and Version 9 of DeployAsWindowsService


Ignore:
Timestamp:
05/13/06 15:50:43 (13 years ago)
Author:
sdelatorre
Comment:

Fixed the broken code sample

Legend:

Unmodified
Added
Removed
Modified
  • DeployAsWindowsService

    v8 v9  
    2222    * '''Description''': The name of the service (used in the Windows registry). 
    2323    * '''Default''': The capitalized name of the current directory. 
    24   * '''_svc_display_name_''' (Required): The name that will be displayed in the Windows Services management console. 
    25   * '''code_dir''' (Required): The base directory of  the TG application code.  This should be the same directory where the <project-name>-start.py, dev.cfg, and prod.cfg files are located. 
    26   * '''root_class''' (Required): The fully qualified name of the main TG class.  For example, if you were enabling the [http://www.turbogears.org/docs/wiki20/ 20 Minute Wiki] tutorial as a Windows service, then the fully qualified class name would be 'wiki20.controllers.Root'.   
    27   * '''log_dir''' (Optional): The location for the app's stdout and stderr log files.  If no location is provided, then the value of '''code_dir''' will be used. 
     24  * '''_svc_display_name_''' 
     25    * '''Description''': The name that will be displayed in the Windows Services management console. 
     26    * '''Default''': The capitalized name of the current directory. 
     27  * '''code_dir''' 
     28    * '''Description''': The base directory of  the TG application code.  This should be the same directory where the <project-name>-start.py, dev.cfg, or prod.cfg files are located. 
     29    * '''Default''': The current working directory. 
     30  * '''root_class''' 
     31    * '''Description''': The fully qualified name of the main TG class.  For example, if you were enabling the [http://www.turbogears.org/docs/wiki20/ 20 Minute Wiki] tutorial as a Windows service, then the fully qualified class name would be 'wiki20.controllers.Root'.   
     32    * '''Default''': <current_dir>.controllers.Root 
     33  * '''config_module''' 
     34    * '''Description''': The name of the configuration module. 
     35    * '''Default''': <current_dir>.config 
     36  * '''log_dir''' 
     37    * '''Description''': The location for the app's stdout and stderr log files.   
     38    * '''Default''': code_dir 
    28393. Open a command prompt and navigate to the directory where service.py is located.  Use the following commands to install/start/stop/remove your service: 
    2940