This introductory guide describes the process of making a Web application using the WebStack framework.
First of all, let us assume that the WebStack distribution has been
unpacked and now sits in the WebStack-1.2.2
directory.
Before we begin, we must make sure that the WebStack package is
available
to Python. The easiest way to do this is to change into the
WebStack-1.2.2
directory and to run the setup.py
script provided with the version of Python you are going to be using
(possibly as a privileged user like root
):
cd WebStack-1.2.2
python setup.py install
If you don't want to install WebStack in this way, or if you can't
do so
because you don't have root
privileges, you can just make
sure
that the WebStack-1.2.2
directory sits on your
PYTHONPATH
.
With the help of Python's built-in standard library, WebStack can run without any additional software, but you may wish to investigate the other supported frameworks in order to run WebStack applications in other environments.
The API documentation for use in conjunction with this
guide can be found inside the apidocs
directory within the WebStack-1.2.2
directory. Of course,
it is always possible to view WebStack's API documentation
within Python by importing modules (such as WebStack.Generic
)
and using Python's built-in help
function.