paulb@327 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
paulb@327 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
paulb@327 | 3 | <head> |
paulb@327 | 4 | <title>Creating Web Applications with WebStack</title> |
paulb@327 | 5 | <meta name="generator" |
paulb@327 | 6 | content="amaya 8.1a, see http://www.w3.org/Amaya/"> |
paulb@327 | 7 | <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles.css" |
paulb@327 | 8 | rel="stylesheet" type="text/css"> |
paulb@327 | 9 | </head> |
paulb@327 | 10 | <body> |
paulb@327 | 11 | <h1>Creating Web Applications with WebStack</h1> |
paulb@327 | 12 | <p>This set of documents describes the process of making a Web |
paulb@327 | 13 | application |
paulb@327 | 14 | using the WebStack framework.</p> |
paulb@327 | 15 | <h2>Setting Up</h2> |
paulb@327 | 16 | <p>First of all, let us assume that the WebStack distribution has been |
paulb@327 | 17 | unpacked and now sits in the <code>WebStack-0.9</code> directory.</p> |
paulb@327 | 18 | <p>Before we begin, we must make sure that the WebStack package is |
paulb@327 | 19 | available |
paulb@327 | 20 | to Python. The easiest way to do this is to change into the |
paulb@327 | 21 | <code>WebStack-0.9</code> directory and to run the <code>setup.py</code> |
paulb@327 | 22 | script provided with the version of Python you are going to be using |
paulb@327 | 23 | (possibly as a privileged user like <code>root</code>):</p> |
paulb@327 | 24 | <pre>cd WebStack-0.9<br>python setup.py install</pre> |
paulb@327 | 25 | <p>If you don't want to install WebStack in this way, or if you can't |
paulb@327 | 26 | do so |
paulb@327 | 27 | because you don't have <code>root</code> privileges, you can just make |
paulb@327 | 28 | sure |
paulb@327 | 29 | that the <code>WebStack-0.9</code> directory sits on the |
paulb@327 | 30 | <code>PYTHONPATH</code>.</p> |
paulb@327 | 31 | <h2>About WebStack Applications</h2> |
paulb@327 | 32 | <ul> |
paulb@327 | 33 | <li><a href="anatomy.html">Anatomy of a WebStack Application</a></li> |
paulb@327 | 34 | <li><a href="deploying.html">Deploying a WebStack Application</a><br> |
paulb@327 | 35 | </li> |
paulb@327 | 36 | </ul> |
paulb@327 | 37 | </body> |
paulb@327 | 38 | </html> |