0 Webware, Web_Tools, Python Web Development Suite   Webware for Python V0.9 # http://www.vsm.com.au/ftp/jfp/kits/ 2  Tous droits rservs 2003 Jean-Franois PIRONNE  [ Webware for Python is a suite of Python packages and tools for developing object-oriented,  V web-based applications. The suite uses well known design patterns and includes a fast Y Application Server, Servlets, Python Server Pages (PSP), Object-Relational Mapping, Task  \ Scheduling, Session Management, and many other features. Webware is very modular and easily 	 extended.   [ Webware for Python is well proven and platform-independent. It is compatible with multiple  4 web servers, database servers and operating systems.  \ Webware for Python on OpenVMS can run as a "classical" multi threaded application server or @ in a WASD CGIPlus environment (multi processes, multi accounts).  : A demonstration is available from the Python for VMS site. Software Requirements   #    1. JFP Python 2.3.5  (See above)   - Webware must be installed on an ODS-5 volume.   a By default, the installation procedure installs Python in the SYS$COMMON:[WEBWARE090] directory.  ] To install it in another directory, dev:[dir], use the /DESTINATION parameter of the PRODUCT  V command. In this case, Python will be installed in the dev:[dir.WEBWARE090] directory.   Installation  H    1. Make the directory which holds the ZIP file your default directory0    2. Extract the PCSI kit from the ZIP archive.  ! $ UNZIP "-V" WEBWARE090-V0102-0-1   1    3. Install Webware to your chosen destination.   ' $ PRODUCT INSTALL webware090  (default)    or ...    3 $ PRODUCT INSTALL webware090 /DESTINATION=dev:[dir]   1    4. Finally, run the DCL procedure STARTUP.COM.   A (You might want to add this line to your SYSTARTUP_VMS.COM file.)    $ @dev:[dir]STARTUP   g       The STARTUP.COM procedure just defined the logical WEBWARE090_ROOT and does not start the server.   
 Configuration _ If you planned to use Webware in a WASD CGIPlus environment, view ther video Webware under WASD  else  )    1. Choose an account to run the server h    2. Create an empty directory for example dev:[dir.demo] where you will deploy the server. Owner must .       be the account choose to run the server.<    3. Create the server application and configuration files:   $ set default dev:[dir.demo]5 $ python /webware090_root/bin/MakeAppWorkDir.py MyApp   f       where MyApp is the directory, which will be created, where you can build your first application.    4. Edit configuration files:   ! $ edit [.Configs]AppServer.config # $ edit [.Configs]Application.config   b       In AppServer.config update variables Host, EnableAdapter, AdapterPort, EnableHTTP, HTTPPort.g       In Application.config update variables AdminPassword, you can optionally update others variables.    Start the server  7    1. Create a procedure run_server.com which contains:    $ set proc/par=extended  $ @python_vms:setup  $ set default dev:[dir.demo]M $! environ variable host/hostname is used by webware in ...miscutils]funcs.py D $ HOST = f$trnlnm("TCPIP$INET_HOST","LNM$SYSTEM_TABLE",,"EXECUTIVE")$ $ python Launch.py ThreadedAppServer  <    2. Start the server using the previous created procedure.  