Skip to content

process-project/ltacat_UC2

Repository files navigation

LOFAR LTA pipeline orchestrate Web application

This project has been forked from ESOC-ltacat.

The is the frontend and the db backend of the web application which can be used to run a pipeline on several data products in the LOFAR Long Term Archive (LTA). To run pipeline the https://github.com/process-project/UC2_workflow_api web service is required.

Architecture

Dependencies:

  • oracle instantclient basic (tested with version 19.8)
  • npm

Configuration:

To run the following variables must be set in server/db-config.js before building the package:

  • HR_CONNECTIONSTRING, connection string to Lofar database (optional)
  • HR_USER, username to connect to Lofar database
  • HR_PASSWORD, password to connect to Lofar database

Installation:

To install ltacat-web, please follow the following steps. First we need to install the dependencies of frbcat-web using the following commands:

  npm ci

Next, we build the package using:

  npm run webpack

Running the express server with ltacat:

To start the express server with Web application loaded use the following command:

npm run start

To run both backends (ltacat and UC2_workflow_api) behind the same server use CaddyServer by running it in root of this repo with:

caddy

for CaddyServer v1. For version 2, either rename the file Caddyfile2 to Caddyfile and run:

caddy run

or use the --config option with the path to Caddyfile2 of that same command.

The web application is running at http://localhost:2015 after running CaddyServer.