Package: psj.site
Plone Scholarly JournalThePlone Scholarly Journal(PSJ) is a collection of packages to
create and maintain scholarly journals using Plone.The special abilities of PSJ are:High quality on-the-fly transformations of office documents using
OpenOffice.org.Flexible metadata handlingThis package is an umbrella package that brings all other psj-related
packages together.Currently, the whole thing consists of three packages:psj.content(content types with extended metadata handling)psj.policy(provides mainly office-document transformations using
OpenOffice.org)psj.site(this package).This package creates a vanilla psj-site with the required scripts to
start, stop and maintain the site.psjrelies on the content management framework Plone. Visithttp://www.plone.org/to learn more about Plone.Plone itself is backed up by Zope, an open source application
framework of upper-level quality and reliability. Seehttp://www.zope.org/to learn more about Zope.PrerequisitesYou need the following things to install this package:Python 2.4Currently Python 2.4 is needed to run Zope (Plone and psj). You can
find out, whether you have Python 2.4 installed by opening a shell
and entering:$ python -VThis should give you something like:Python 2.4.3Note, that the whole thing won’t work with Python <= 2.3 nor with
newer versions (>= 2.5).`easy_install` and Python `setuptools`If you don’t haveeasy_installalready available, you can find the
script to set it up on thePEAK EasyInstall pageat:http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-installYou need to downloadez_setup.py, which is available at:http://peak.telecommunity.com/dist/ez_setup.pyThen, you run it like this to installeasy_installinto your
system Python:$ sudo python2.4 ez_setup.pyThis will makeeasy_install-2.4available to you.Then you can install the Pythonsetuptoolssimply by entering:$ sudo easy_install-2.4 setuptoolsA C-compilerThis is needed for compilation of the Zope 2 core elements. On Linux
systems you normally have the Gnu C compilergccavailable.PILThe Python Imaging Library must be installed in your Python
path. You can check, whether this is true by opening a shell and
entering:$ python2.4 -c "import PIL"If you get no output at all, everything is fine. If you get a
complaint like this:Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named PILthen you have to install PIL before you proceed. PIL is available
fromhttp://www.pythonware.com/products/pil/Please follow the instructions given in the package.You donotneed to have a version of Plone or Zope already
installed. Instead, the build process will grab, configure and install
all other packages needed from the web.InstallationFirst, make sure your system meets the requirements mentioned above.psjuses azc.buildout-driven installation process, that has to be
initialized first. Becausebuildoutneeds a fairly recent version
ofsetuptools, you should update your version of it:$ sudo easy_install -U setuptoolsThis bringssetuptoolsto the newest version available.Now, we are ready to go. Bootstrap the initial buildout environment:$ python2.4 bootstrap/bootstrap.pyand run the buildout command:$ bin/buildoutLots of stuff will be downloaded, compiled and installed here.Note that if you have more than one sandbox for a Zope-based web
application, it will probably make sense to share the eggs between the
different sandboxes.  You can tell zc.buildout to use a central eggs
directory by creating~/.buildout/default.cfgwith the following
contents:[buildout]
eggs-directory = /home/bruno/buildout-eggsIf you happen to change the values inbuildout.cfg, you have to
‘rebuild’ the environment by runningbin/buildoutagain.Running the siteYou can start Zope, Plone and psj with the following command:$ bin/instance startThis will start the server process and send it back in the
background. Stop the server with:$ bin/instance stopIf you do not want the server process to detach from the running
terminal, you can start it like this:$ bin/instance fgIn this case you can stop the server by pressing CTRL-C.Do:$bin/instance --helpto get a complete list of things you can do with the start script.LoginAfter starting the server, you can reach it with your browser athttp://localhost:8080/To log into the site, go tohttp://localhost:8080/manageand enter the credentials as in buildout.cfg. By default the username
and password are bothadmin.This way you reach the Zope Management Interface (ZMI), where you can
manage your running Zope instance.Sponsors/CreditsInitial programming was undertaken on behalf of the “Stiftung Deutsche
Geisteswissenschaftliche Institute im Ausland” (Foundation German
Humanities Institutes Abroad) for the publication platformhttp://www.perspectivia.net.Funding was provided by the German “Bundesministerium fuer Bildung und
Forschung” (Federal Ministry of Education and Research).The programming was coordinated by theFafalter GmbH, Duesseldorf,
Germany, namely Ruth and Bories von dem Bussche.Many thanks to all these institutions and persons!Changelog0.1 (2008-12-09)Pinned down versions inversions.cfg.Initial versionDownload