Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 2.96 KB

Install_eXistdb_Fabric.md

File metadata and controls

85 lines (53 loc) · 2.96 KB

Pre-Requisites

You should have completed the following steps :

  1. The eXist-db build is an optional deployment configuration which adds an XML documents build repository and framework files into Bungeni.
  2. The eXist-db currently works on Ubuntu 10.04 +

Download & Setup eXist stack

See Executing Fabric actions

eXist stack pre-requisites

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

Installing Rabbit MQ

fab -H <host-name-or-ip> rabbitmq_install

Installing Gluescripts

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

XML Repository

eXist-db is an open source database for storing XML documents (see eXist-db.org).

Installing eXist-db

fab -H <host-name-or-ip> exist_install

This installs the eXist-db build.

Installing demo data

fab -H <host-name-or-ip> exist_load_demodata

Installing the framework files

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.

Starting and Stopping exist

See using supervisor to start / stop eXist

Starting and Stopping rabbitmq

See using supervisor to start / stop rabbitmq

About BungeniXQFramework

see Bungeni XQ Framework Documentation

Next Steps