Difference between revisions of "ART-DECOR building and testing"

Line 4: Line 4:
 
==Building ART-DECOR packages==
 
==Building ART-DECOR packages==
 
The following steps are taken during an ART-DECOR build:
 
The following steps are taken during an ART-DECOR build:
 
+
* Create new vue build
[[File:Build_packages.jpg|220px]]
+
* Create new ART-DECOR packages
===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===
 
===eXist-db===
 
====Commit code====
 
====Commit code====
Code is committed in a software repository and 2 logs are created:
+
Code is committed in a software repository, see [[ART_developers_manual#ART-DECOR_Next_generation_repository]]
* Development: [[http://art-decor.org/ADAR-dev/svnlog.html]]
 
* Stable: [[http://art-decor.org/ADAR/svnlog.html]]
 
 
====Build .xar packages====
 
====Build .xar packages====
 
During this step code from the code repository is converted into .xar packages.
 
During this step code from the code repository is converted into .xar packages.
Line 20: Line 15:
 
Documentation on how to run the script for updating the repository can be found here: TODO
 
Documentation on how to run the script for updating the repository can be found here: TODO
  
The result repositories are viewable here: [[Download#Repository]]
+
The result (development) repository is viewable here: http://decor.nictiz.nl/apps/public-repo-dev5/retrieve.html
  
 
==Building ART-DECOR instance==
 
==Building ART-DECOR instance==
 
The following steps are taken during an ART-DECOR instance build:
 
The following steps are taken during an ART-DECOR instance build:
 
+
* Install or update vue [[ART_developers_vue]]
[[File:Build_instance.jpg|420px]]
+
* install eXist-db
====Using docker====
+
* install ART-DECOR packages
There is a docker script that will deploy a running instance of ART-DECOR that contains:
+
* Restoring data
* Environment: Linux os
 
* Environment: Java JDK
 
* eXist-db installation
 
* .xar packages installation
 
* Apache Tomcat installation
 
* Orbeon war installation
 
* Restored data
 
* NGINX installation
 
 
 
====Environment====
 
* Linux os
 
* Java development environment (JDK). Documented at: [[ART-DECOR_installation_on_linux#Install_Sun_java_JDK]]
 
 
 
===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===
Line 57: Line 33:
 
===Restoring data===
 
===Restoring data===
 
Test instances or production instances of ART-DECOR might need data restored into their database.
 
Test instances or production instances of ART-DECOR might need data restored into their database.
 
  
 
==Testing ART-DECOR==
 
==Testing ART-DECOR==
 
Tests that can be run against a ART-DECOR instance are documented at:
 
Tests that can be run against a ART-DECOR instance are documented at:
 
[[ART_developers_manual#ART-DECOR_testscenarios]]
 
[[ART_developers_manual#ART-DECOR_testscenarios]]

Revision as of 18:09, 6 February 2021

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:

  • Create new vue build
  • Create new ART-DECOR packages

eXist-db

Commit code

Code is committed in a software repository, see ART_developers_manual#ART-DECOR_Next_generation_repository

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 (development) repository is viewable here: http://decor.nictiz.nl/apps/public-repo-dev5/retrieve.html

Building ART-DECOR instance

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

  • Install or update vue ART_developers_vue
  • install eXist-db
  • install ART-DECOR packages
  • Restoring data

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