WebStack

docs/deploying-applications.html

733:26865b172666
2007-11-12 paulb [project @ 2007-11-12 00:51:34 by paulb] Added a StringResource class for simple static resources. Introduced base classes for common authentication activities. Merged "app", "path" and "qs" fields into a single "app" field for login and redirection. Added support for OpenID authentication.
     1 <?xml version="1.0" encoding="iso-8859-1"?>     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">     3 <html xmlns="http://www.w3.org/1999/xhtml"><head>     4   <title>Deploying an Application</title>     5   <link href="styles.css" rel="stylesheet" type="text/css" /></head>     6 <body>     7 <h1>Deploying an Application</h1>     8      9 <p>Here is a table which summarises the steps required to actually deploy    10 your application in the different server environments or frameworks:</p>    11     12 <table border="1" cellpadding="5" cellspacing="0">    13   <tbody>    14     <tr>    15       <th>Framework</th>    16       <th>Deployment Steps</th>    17     </tr>    18     <tr>    19       <td>BaseHTTPRequestHandler</td>    20       <td>Just run the adapter code</td>    21     </tr>    22     <tr>    23       <td>CGI</td>    24       <td>Declare a script directory in the Web server<br />    25         Deploy application code in the specified script directory<br />    26         Restart the Web server</td>    27     </tr>    28     <tr>    29       <td>Django</td>    30       <td>Set up an instance and application in the Django environment<br />    31         Deploy application code in the specified application directory    32       </td>    33     </tr>    34     <tr>    35       <td>Java Servlet</td>    36       <td>Use the supplied script in <code>tools/JavaServlet</code> and    37         follow your servlet container's instructions</td>    38     </tr>    39     <tr>    40       <td>mod_python</td>    41       <td>Declare a handler directory in Apache<br />    42         Deploy application code in the specified handler directory<br />    43         Restart Apache</td>    44     </tr>    45     <tr>    46       <td>Twisted</td>    47       <td>Just run the adapter code</td>    48     </tr>    49     <tr>    50       <td>Webware</td>    51       <td>Copy or symbolically link your application code directory to reside    52         alongside other Webware plug-ins<br />    53         Configure your application within Webware<br />    54         Start Webware</td>    55     </tr>    56     <tr>    57       <td>WSGI</td>    58       <td>Either run the adapter code (for applications using <code>wsgiref</code>)<br />    59         Or follow the instructions for CGI (for applications using WSGI on CGI)</td>    60     </tr>    61     <tr>    62       <td>Zope 2</td>    63       <td>Copy or symbolically link your application code directory to reside    64         in the Zope <code>Products</code> directory<br />    65         Configure <code>etc/zope.conf</code><br />    66         Start Zope<br />    67         Add a product instance for your application at the desired location    68         in the Zope filesystem</td>    69     </tr>    70   </tbody>    71 </table>    72     73 <h2>More Information</h2>    74     75 <p>Notes on each server environment can be found in subdirectories within the    76 <code>docs</code> directory:</p>    77 <ul>    78   <li><a href="BaseHTTPRequestHandler/NOTES.txt">BaseHTTPRequestHandler</a></li>    79   <li><a href="CGI/NOTES.txt">CGI</a></li><li><a href="Django/NOTES.txt">Django</a></li>    80   <li><a href="JavaServlet/NOTES.txt">Java Servlet</a></li>    81   <li><a href="ModPython/NOTES.txt">mod_python</a></li>    82   <li><a href="Twisted/NOTES.txt">Twisted</a></li>    83   <li><a href="Webware/NOTES.txt">Webware</a></li>    84   <li><a href="WSGI/NOTES.txt">WSGI</a></li>    85   <li><a href="Zope/NOTES.txt">Zope 2</a></li>    86 </ul>    87 </body></html>