WebStack

Annotated docs/deploying-applications.html

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