Skip to content

A web interface for browsing virtual-experiments, tracking runs, and viewing logs.

License

Notifications You must be signed in to change notification settings

st4sd/st4sd-registry-ui

Repository files navigation

ST4SD Registry UI

The ST4SD Registry UI is a web interface for the ST4SD Runtime Service, written in Vue 3.

Quick links

Getting started

Requirements

Node.js

Running and developing this website requires an up-to-date Node.js version. You can check what Node.js version you have currently installed with

node -v

Please refer to the Node.js download page if you don't have it installed or if your installed version is older than 20.

Development

Accessing the backend

The project requires access to a backend service to work. The development configuration provided intercepts the calls to the backend and forwards them to 0.0.0.0:8085.

Spinning up a development version of the st4sd-registry-backend

To use a local development version of the st4sd-registry-backend please follow the instructions provided at: https://github.com/st4sd/st4sd-registry-backend#developing-locally.

Port-forwarding the backend from an OpenShift deployment

Another option is to port-forward the backend from the OpenShift project where we deployed ST4SD. To access it, after ensuring we are logged in to the OpenShift cluster, we can run the following command:

kubectl port-forward svc/st4sd-registry-backend 8085:8085 -n $DEPLOYMENT_NAMESPACE

Where $DEPLOYMENT_NAMESPACE is the namespace where you deployed ST4SD. You can omit it if you're forwarding the service from the active namespace (you can check what the active namespace is with oc project).

Installing dependencies

Install the dependencies for this project with:

yarn install

Build a development version of this project with hot reloading

This command will build a development version of the website (without optimizations) and start a server where you can preview the changes you've made, with hot reloading capabilities.

yarn serve

Build for production

This command will create a production-ready build of the website. It will apply optimizations such as minifying the output files.

yarn build

Help and Support

Please feel free to reach out to one of the maintainers listed in the MAINTAINERS.md page.

Contributing

We always welcome external contributions. Please see our guidance for details on how to do so.

References

If you use ST4SD in your projects, please consider citing the following:

@software{st4sd_2022,
author = {Johnston, Michael A. and Vassiliadis, Vassilis and Pomponio, Alessandro and Pyzer-Knapp, Edward},
license = {Apache-2.0},
month = {12},
title = {{Simulation Toolkit for Scientific Discovery}},
url = {https://github.com/st4sd/st4sd-runtime-core},
year = {2022}
}

License

This project is licensed under the Apache 2.0 license. Please see details here.