Did you know ... | Search Documentation: |
Installation and Administration |
Basic installation merely requires installing a recent version of SWI-Prolog and unpacking ClioPatria (see Downloading below). Next, you can deploy it in two ways:
Running ClioPatria as an application requires a few steps:
./configure
from the top directory. On
Windows by double-clicking setup.pl../run.pl
on Unix or double-clicking run.pl
on Windows and direct your browser to the indicated address (default
is http://localhost:3020/. If this is the first time, you will be
asked to enter an admin password. This protects some
web-operations, such as managing settings and loading/unloading RDF.
If you want to extend the application, there are two options. One is to
put a Prolog file with the desired extensions in conf.d
. Another is
to run configure/setup from another directory. This creates run.pl and
conf.d in the current working directory, after which the extensions can
be placed in conf.d
.
To use ClioPatria as a library, one can simply compile cliopatria.pl. The file run.pl as generated from installation as an application gives additional actions you may want to setup. The web-server is started by cp_server/0, but the system runs happily if the Prolog HTTP server is started in another way, as long as the server uses http_dispatch/1 for dispatching HTTP requests.