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><td align="undefined" valign="undefined">Django</td><td align="undefined" valign="undefined">Set up an instance and application in the Django environment<br />Deploy application code in the specified application directory</td></tr><tr> 29 <td>Java Servlet</td> 30 <td>Use the supplied script in <code>tools/JavaServlet</code> and 31 follow your servlet container's instructions</td> 32 </tr> 33 <tr> 34 <td>mod_python</td> 35 <td>Declare a handler directory in Apache<br /> 36 Deploy application code in the specified handler directory<br /> 37 Restart Apache</td> 38 </tr> 39 <tr> 40 <td>Twisted</td> 41 <td>Just run the adapter code</td> 42 </tr> 43 <tr> 44 <td>Webware</td> 45 <td>Copy or symbolically link your application code directory to reside 46 alongside other Webware plug-ins<br /> 47 Configure your application within Webware<br /> 48 Start Webware</td> 49 </tr> 50 <tr> 51 <td>WSGI</td> 52 <td>(Follow the instructions for CGI - this may change in future.)</td> 53 </tr> 54 <tr> 55 <td>Zope 2</td> 56 <td>Copy or symbolically link your application code directory to reside 57 in the Zope <code>Products</code> directory<br /> 58 Configure <code>etc/zope.conf</code><br /> 59 Start Zope<br /> 60 Add a product instance for your application at the desired location 61 in the Zope filesystem</td> 62 </tr> 63 </tbody> 64 </table> 65 66 <h2>More Information</h2> 67 68 <p>Notes on each server environment can be found in subdirectories within the 69 <code>docs</code> directory:</p> 70 <ul> 71 <li><a href="BaseHTTPRequestHandler/NOTES.txt">BaseHTTPRequestHandler</a></li> 72 <li><a href="CGI/NOTES.txt">CGI</a></li><li><a href="Django/NOTES.txt">Django</a></li> 73 <li><a href="JavaServlet/NOTES.txt">Java Servlet</a></li> 74 <li><a href="ModPython/NOTES.txt">mod_python</a></li> 75 <li><a href="Twisted/NOTES.txt">Twisted</a></li> 76 <li><a href="Webware/NOTES.txt">Webware</a></li> 77 <li><a href="WSGI/NOTES.txt">WSGI</a></li> 78 <li><a href="Zope/NOTES.txt">Zope 2</a></li> 79 </ul> 80 </body></html>