source: waeup/trunk/README.txt @ 4912

Last change on this file since 4912 was 4789, checked in by uli, 15 years ago

Merge changes from ulif-layout back into trunk (finally).

File size: 2.1 KB
Line 
1waeup
2*****
3
4A web-based management tool for managing universities and schools.
5
6What is ``waeup``?
7==================
8
9The package was created as an effort of the WAeUP group. See
10http://www.waeup.org to learn more about WAeUP.
11
12
13Installation
14============
15
16Prerequisites
17-------------
18
19The ``waeup`` package is based on `Grok`_, which is a Python framework
20for agile webapplication development. Grok itself is based on `Zope`_.
21
22.. _Grok: http://grok.zope.org/
23
24.. _Zope: http://www.zope.org/
25
26To deploy ``waeup`` most easily, we use `zc.buildout`_
27
28.. _zc.buildout: http://cheeseshop.python.org/pypi/zc.buildout
29
30You may have setuptools already installed for your system Python. In
31that case, you may need to upgrade it first because buildout requires
32a very recent version::
33
34    $ sudo easy_install -U setuptools
35
36If this command fails because easy_install is not available, there is
37a good chance you do not have setuptools available for your system
38Python. If so, there is no problem because setuptools will be
39installed locally by buildout.
40
41Bootstrap the buildout environment::
42
43    $ python2.4 bootstrap/bootstrap.py
44
45and run the buildout command::
46
47    $ bin/buildout
48    [lots of stuff will be downloaded and installed here]
49
50Note that if you have more than one sandbox for a Zope-based web
51application, it will probably make sense to share the eggs between the
52different sandboxes.  You can tell ``zc.buildout`` to use a central
53eggs directory by creating ``~/.buildout/default.cfg`` with the
54following contents::
55
56    [buildout]
57    eggs-directory = /home/bruno/buildout-eggs
58
59Running the ``waeup`` application
60---------------------------------
61
62You can start Zope with the with the following command:
63
64    $ bin/zopectl fg
65
66If you now connect to port 8080 and log in with username 'grok',
67password 'grok', you should be able to add the grok-based applications
68(such as ``waeup``) from the menu.
69
70Add an instance of ``waeup`` and click on the link next to the then
71visible entry in the list of installed applications.
72
73Running the tests
74-----------------
75
76The tests are easily run by executing the test runner that's
77installed in the ``bin`` directory::
78
79    $ bin/test
80
Note: See TracBrowser for help on using the repository browser.