Follow these steps to install and set up QCG (Web UI for O2 Quality Control).
You can download and install Node.js from the official Node.js website: https://nodejs.org/.
Make sure to install version 22.x or higher, as it is required for QCG. The website provides installers for various operating systems and package managers for advanced users.
WebUI
repositoryClone the repository for the WebUI
project to your local machine using Git:
git clone https://github.com/AliceO2Group/WebUi.git
Navigate to the QualityControl
directory within the cloned repository and install the required dependencies using npm
:
cd WebUi/QualityControl
npm ci
The npm ci
command will install the dependencies listed in the package-lock.json
file to ensure that the exact versions of packages are installed.
Copy the default configuration file and update it according to your needs. The default configuration file is config-default.js
, and the copied file will be named config.js
:
cp config-default.js config.js
Here you can learn how to update this configuration file to suit your specific setup: Local Configuration
Note: If you want to run QCG in development mode (with development features such as hot-reloading), refer to the instructions in Development.
If you are not running QCG in development mode, follow these steps:
Start the QCG server by executing the following command:
npm run start
This will launch the application and bind it to the default port (8080).
Once the server is running, open your browser and navigate to localhost:8080 to access the QCG interface.
Make sure your browser is supported to avoid any compatibility issues.
http
section of config.js
file.