You should have completed the following steps :
- How to setup the Pre-requisites
- How to setup Bungeni Parliamentary Information System
- How to use Supervisor Service Manager
- The eXist-db build is an optional deployment configuration which adds an XML documents build repository and framework files into Bungeni.
- The eXist-db currently works on Ubuntu 10.04 +
The XML repository is updated by Gluescripts which implement Rabbit MQ, a messaging broker (see Rabbit MQ). Presetup installs all dependencies required prior to installing the stack. Use config_supervisord
command to regenerate the configuration templates especially when updating from an existing Bungeni installation.
fab -H <host-name-or-ip> exist_presetup config_supervisord
fab -H <host-name-or-ip> rabbitmq_install
The Gluescripts subscribe to bungeni_serialization_output_queue
for serialized documents from Bungeni workflow; XSLT is applied on the documents and once transformed, pushed into the XML repository. This script runs as "exist-sync" service on Supervisor.
fab -H <host-name-or-ip> glue_install
eXist-db is an open source database for storing XML documents (see eXist-db.org).
fab -H <host-name-or-ip> exist_install
This installs the eXist-db build.
fab -H <host-name-or-ip> exist_load_demodata
fab -H <host-name-or-ip> exist_fw_install
This installs the eXist framework files for browsing the Bungeni XML repository.
Alternatively, if you are running Bungeni on localhost, you can run:
./fl exist_presetup config_supervisord rabbitmq_install glue_install exist_install exist_load_demodata exist_fw_install
This will install the entire stack and load some demo data into eXist-db altogether.
See using supervisor to start / stop eXist