Skip to content

HEP-FCC/phoenix-at-fcc

Repository files navigation

Phoenix@FCC

This repository holds the Phoenix based application used to visualize event data at FCC.

Installation

To install the application run

yarn install

Note: Make sure that you use Yarn2

Running locally

After installation, to serve the application locally run

yarn start

Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Development version of Phoenix

In order to have access to the latest development version of phoenix two links to sub-packages need to be created:

phoenix-ui-components
phoenix-event-display

or more specifically, run following two commands from the main directory of this application

yarn link -r ../phoenix/packages/phoenix-ng/projects/phoenix-ui-components
yarn link -r ../phoenix/packages/phoenix-event-display

Production vs. development version

  • Production version is available from the main page of FCCSW website (direct link) and corresponds to the latest tagged version.
  • The main branch holds the latest development version available from here.

Deploying to the FCCSW website

Production version should be build and deployed from latest tagged version and development version from main branch with the help of following two commands

yarn build:prod
yarn deploy:prod

or

yarn build:dev
yarn deploy:dev