Skip to content

DiamondLightSource/pato-frontend

Repository files navigation

PATo

Code CI Apache License

Source code https://github.com/DiamondLightSource/pato-frontend/

Particle Analysis and Tomography Visualization Interface

Configuration

Build time:

  • REACT_APP_VERSION: App version

Run time:

Create a configuration file named config.js, based on config.example.js, and mount custom runtime configs on the root of the deployment folder (e.g.: /usr/share/nginx/html for nginx). In local development mode, modify config.js in /public instead.

  • API_URL: base URL for API endpoints
  • AUTH_URL: base URL for authentication endpoints
  • DEV_CONTACT: email used for contacting application support
  • ENVIRONMENT: application environment - one of 'production', 'staging' or 'demo'
  • FEEDBACK_URL (optional): URL pointing to form that takes user feedback

Deployment

Running development server on your machine:

yarn install --immutable --immutable-cache --check-cache

yarn start

There is also a production Docker container available. Nevertheless, you can compile a production-optimised build with yarn build instead.

Testing

  • Run yarn test

About

Particle analysis and tomography data display application (frontend)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •