WebStack

Annotated docs/deploying-applications.html

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