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.
- oracle instantclient basic (tested with version 19.8)
- npm
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
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
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.