Skip to content

slaclab/licco

Repository files navigation

Line configuration management

aka. Machine Configuration Database

see: https://confluence.slac.stanford.edu/display/PCDS/Validated+Machine+Configuration+Database+System

Install Steps

  • Create the conda environment from the base directory
    • conda env create -f environment.yml
  • Activate the conda environment by name(see .yml file for correct name)
    • conda activate mcd_0_0_1
  • Install flask_authnz submodule
    • Update and activate submodule
  • Install javascript packages from within react folder
    • cd react
    • npm install
  • Start front end REACT development server
    • npm run dev
  • Run backend in debug mode with gunicorn server in another terminal/session
    • LOG_LEVEL=DEBUG MONGODB_URL=127.0.0.1 python3 gunicorn start:app