From 3d1dd370f71a863027846805878e38d65c24ad7e Mon Sep 17 00:00:00 2001 From: Jack Harper Date: Tue, 1 Oct 2024 12:00:09 +0100 Subject: [PATCH] format --- README.md | 7 +++++-- app/page.tsx | 17 ++++++++++++++--- app/wall/components/JenkinsJobsIframe.tsx | 3 ++- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d907f9a..cbe50a7 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,10 @@ Allows monitoring of instrument PVs via a web page. ## Development -[Install NodeJS](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - we are using `nvm-windows` for installing on windows, and the `lts` version of node. +[Install NodeJS](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) - we are using `nvm-windows` for installing on windows, and the `lts` version of node. + +To install all dependencies, use: -To install all dependencies, use: ```bash npm install ``` @@ -34,10 +35,12 @@ To start in dev mode, use: ``` #### Container approach + To run in containerd instead, build the image with `nerdctl build -t web-dashboard .` then `run` with `nerdctl run -p 3000:3000 web-dashboard` to pass the WS URL to the container, run with `-e NEXT_PUBLIC_WS_URL=ws://:/pvws/pv` ### Building + For a production build, run `npm run build`. To start this build natively, use `npm run start`. diff --git a/app/page.tsx b/app/page.tsx index 9fb22ea..d5a85ac 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -87,7 +87,11 @@ export default function Home() {

- The Science and Technology Facilities Council (STFC)' world-class neutron and muon instruments give unique insights into materials at the atomic level, providing scientists advanced research capabilities across numerous disciplines. + The Science and Technology Facilities Council (STFC)' + world-class neutron and muon instruments give unique + insights into materials at the atomic level, providing + scientists advanced research capabilities across numerous + disciplines.

- The IBEX Control System provides a user-friendly interface for scientists to manage and control instruments at the neutron and muon sources of STFC. They can configure experiments, monitor data collection, and adjust parameters in real time for precise, efficient operation. + The IBEX Control System provides a user-friendly interface + for scientists to manage and control instruments at the + neutron and muon sources of STFC. They can configure + experiments, monitor data collection, and adjust + parameters in real time for precise, efficient operation.

- Data is collected by EPICS, forwarded by PVWS, and then streamed to the browser by a websocket. This real-time access to results allows for adjustments and quick analysis. + Data is collected by EPICS, forwarded by PVWS, and then + streamed to the browser by a websocket. This real-time + access to results allows for adjustments and quick + analysis.

{" "}

Tip: Open the jobs into a{" "} - new tab only. If you cannot see this, you probably aren't connected to the ISIS network. + new tab only. If you cannot + see this, you probably aren't connected to the ISIS network.