ART-DECOR building and testing version 2

Tools.svg This article or section is in the middle of an expansion or major restructuring and is not yet ready for use. You are welcome to assist in its construction by editing it as well.

This page will document how to build and test ART-DECOR in a automated process.

Building ART-DECOR packages

The following steps are taken during an ART-DECOR build:

Build packages.jpg

Orbeon

Creating a Orbeon .war file

Steps to create the art-decor.war package are documented here: ART_developers_manual#Creating_a_new_art-decor.war_package

eXist-db

Commit code

Code is committed in a software repository and 2 logs are created:

  • Development: [[1]]
  • Stable: [[2]]

Build .xar packages

During this step code from the code repository is converted into .xar packages.

Documentation on how to run the script for updating the repository can be found here: TODO

The result repositories are viewable here: Download#Repository

Building ART-DECOR instance

The following steps are taken during an ART-DECOR instance build:

Build instance.jpg

Using docker

There is a docker script that will deploy a running instance of ART-DECOR that contains:

  • Environment: Linux os
  • Environment: Java JDK
  • eXist-db installation
  • .xar packages installation
  • Apache Tomcat installation
  • Orbeon war installation
  • Restored data
  • NGINX installation

Environment

Orbeon

Apache Tomcat installation

Documentation can be found here: ART-DECOR_installation_on_linux#Apache_Tomcat_installation

Installing a Orbeon war file into a ART-DECOR instance

Documentation can be found here: ART-DECOR_installation_on_linux#Apache_Tomcat_installation

eXist-db

eXist-db installation

See: ART-DECOR_installation_on_linux#eXist-db_installation

Installing .xars into a ART-DECOR instance

Documentation can be found here: ART-DECOR_installation_on_linux#Install_ART-DECOR_software_.26_data

Restoring data

Test instances or production instances of ART-DECOR might need data restored into their database.


Testing ART-DECOR

Tests that can be run against a ART-DECOR instance are documented at: ART_developers_manual#ART-DECOR_testscenarios