This template project is designed to provide the minimal boilerplate needed to create an Odin React GUI for your detector project.
To use, run the following in the command line, ensuring you have Node.js available.
npm create @dssg/odin-reactThen, follow the prompts!
The template will be installed relative to the current working directory of the command line. Standard practice is to install the GUI into the web/static directory of the Odin Control project.
The template will automatically install dependencies and start running the development server by default. You can manually run this server with the following command, in the root directory of the GUI project:
cd web/static
npm run devFor further information, see the Odin React Documentation