Skip to content

Latest commit

 

History

History

landingpage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The SciCat provides standardised search on published datasets via this LandingPageServer

Configuration options

The landingpage configuration is set by the config files. Files inside the config folder, with a .json extension are merged respecting the alphabetical order of the files in the container.

⚠️ Please note that merging the config files is a functionality provided by SciCat Live and is not supported natively by the landingpage.

Default configuration

In the default configuration config.json file, the landingpage is set to call the backend service available at backend.localhost (either v4, by default, or v3 if specified otherwise by setting BE_VERSION) and use the localhost frontend to redirect to the datasets details from the published data detail page.

For an explanation of how setting BE_VERSION changes the environment creation see here.

Enable additional features

Setting the BACKEND_HTTPS_URL and FRONTEND_HTTPS_URL env variables requires changing the backend and the frontend URL used by the landingpage. This is managed here.

⚠️ When setting LANDINGPAGE_HTTPS_URL it is likely you also want to set the BACKEND_HTTPS_URL and FRONTEND_HTTPS_URL, to allow the communication between the two wherever the browser is accessed.

With DEV=true, please use npm start -- --host 0.0.0.0. This is to allow traffic from any IP to the landingpage component and it is necessary since the component runs in the docker network.