Development

Microfront ends

MX

MX microntend contains all the visual components related to the display of crystalography experiments. It can be found under the folder '/apps/mx'

Standalone mode

You can run the microfrontend in standalone mode by typing:

pnpm prod

Example:

http://localhost:3003/investigation/1405067863

Example MX

Dataset Viewer

This microfrontend contains the visual display for datasets that require dedicated visualization but are simple enough not to need a specific microfrontend The MX microfrontend contains all the visual components related to the display of crystallography experiments. It can be found in the '/apps/mx' folder.

Standalone mode

In order to make development easier, the data_viewer can be run in standalone mode, meaning it does not need to be compiled and run within the portal:

pnpm configure:standalone

ad then run:

pnpm prod

Once it is running, a welcome page is available, and you can enter the investigation you would like it to display. Example: http://localhost:3005