1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"><head> 3 4 <title>Deploying an Application</title><meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> 5 <link href="styles.css" rel="stylesheet" type="text/css" /></head> 6 7 8 <body> 9 <h1>Deploying an Application</h1> 10 11 <p>Here is a table which summarises the steps required to actually deploy 12 your application in the different server environments or frameworks:</p> 13 14 <table border="1" cellpadding="5" cellspacing="0"> 15 <tbody> 16 <tr> 17 <th>Framework</th> 18 <th>Deployment Steps</th> 19 </tr> 20 <tr> 21 <td>BaseHTTPRequestHandler</td> 22 <td>Just run the adapter code</td> 23 </tr> 24 <tr> 25 <td>CGI</td> 26 <td>Declare a script directory in the Web server<br /> 27 Deploy application code in the specified script directory<br /> 28 Restart the Web server</td> 29 </tr> 30 <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> 31 <td>Java Servlet</td> 32 <td>Use the supplied script in <code>tools/JavaServlet</code> and 33 follow your servlet container's instructions</td> 34 </tr> 35 <tr> 36 <td>mod_python</td> 37 <td>Declare a handler directory in Apache<br /> 38 Deploy application code in the specified handler directory<br /> 39 Restart Apache</td> 40 </tr> 41 <tr> 42 <td>Twisted</td> 43 <td>Just run the adapter code</td> 44 </tr> 45 <tr> 46 <td>Webware</td> 47 <td>Copy or symbolically link your application code directory to reside 48 alongside other Webware plug-ins<br /> 49 Configure your application within Webware<br /> 50 Start Webware</td> 51 </tr> 52 <tr> 53 <td>WSGI</td> 54 <td>(Follow the instructions for CGI - this may change in future.)</td> 55 </tr> 56 <tr> 57 <td>Zope</td> 58 <td>Copy or symbolically link your application code directory to reside 59 in the Zope <code>Products</code> directory<br /> 60 Configure <code>etc/zope.conf</code><br /> 61 Start Zope<br /> 62 Add a product instance for your application at the desired location 63 in the Zope filesystem</td> 64 </tr> 65 </tbody> 66 </table> 67 68 <h2>More Information</h2> 69 70 <p>Notes on each server environment can be found in subdirectories within the 71 <code>docs</code> directory:</p> 72 <ul> 73 <li><a href="BaseHTTPRequestHandler/NOTES.txt">BaseHTTPRequestHandler</a></li> 74 <li><a href="CGI/NOTES.txt">CGI</a></li><li><a href="Django/NOTES.txt">Django</a></li> 75 <li><a href="JavaServlet/NOTES.txt">Java Servlet</a></li> 76 <li><a href="ModPython/NOTES.txt">mod_python</a></li> 77 <li><a href="Twisted/NOTES.txt">Twisted</a></li> 78 <li><a href="Webware/NOTES.txt">Webware</a></li> 79 <li><a href="WSGI/NOTES.txt">WSGI</a></li> 80 <li><a href="Zope/NOTES.txt">Zope</a></li> 81 </ul> 82 </body></html>