A prerequisite for the development of Goobi workflow and also for the development environment is a successfully installed Java 11. This can be installed differently depending on the operating system.
The installation under Ubuntu Linux is done via command line as follows:
The installation under Mac is best done using Homebrew from the terminal:
For installation under Windows, you can download suitable installers from here: https://adoptopenjdk.net/releases.html
After the successful installation, an output like the following should appear on the terminal with the command java -version
:
Goobi workflow uses MariaDB to manage the data. This must be installed on the system accordingly.
The installation under Ubuntu Linux is done via command line as follows:
The database can be started and stopped in this way:
The installation under Mac is best done using Homebrew from the terminal:
Der Start und Stop der Datenbank kann so erfolgen:
The installation under Windows is analogous.
In order for Goobi worklow to have data at its disposal, a database must be created. This can be done with the following commands:
We usually work in the directory /opt/digiverso/
for the development of Goobi and also for the operation on the servers. Therefore, the required folders must first be created if they do not already exist. This is done on Linux and Mac as follows:
Eclipse must be downloaded and installed as a development environment. This is done from this website: https://www.eclipse.org/downloads/packages/
From there, select the current package of the 'Eclipse IDE for Enterprise Java and Web Developers' for your own operating system and download it. The package can then be unpacked and saved in the previously created directory /opt/digiverso/dev
.
The directory looks like this:
For the operation of Goobi workflow we use the Apache Tomcat version 9.x. This can be easily downloaded as a zip file from the following page by downloading the zip file from the Core
section of the Binary Distributions
of the current version: https://tomcat.apache.org/download-90.cgi
This downloaded zip file can then be unpacked and additionally saved in the same directory as Eclipse:
Accordingly, the directory now looks like this:
To start using Goobi workflow, you need configurations, data, a database dump and the required plugins in the right directories. A complete database dump can be found on GitHub. The easiest way is to copy the script calls provided there and run them locally:
https://github.com/intranda/goobi-workflow-dev-data
The directory should now look like this:
The following command should then list the imported database tables: