How To Install UI Locally
These installation instructions are targeted towards developers and those who wish to deploy the desktop application.
Prerequisites
npm
Installing the UI
Fork the PARETO UI repo on GitHub (your copy of the main repo)
Clone your fork locally, creating a workspace (replacing
<githubid>with your github user id):git clone https://github.com/<githubid>/pareto-ui
Navigate into the new
pareto-uidirectory, and run the following command to create a dedicated Conda environment for development work calledpareto-ui-env:conda env create --file environment.yml
Activate the
pareto-ui-envConda environment. This command must be run every time a new console/terminal window is opened:conda activate pareto-ui-env
Navigate into the
pareto-ui/electrondirectory, then run the following command to install the electron javascript dependencies:npm clean-install
Navigate into the
pareto-ui/electron/uidirectory, then run the following command to install the frontend dependencies:npm clean-install
Install the open-source solvers provided by the IDAES project:
idaes get-extensions --verbose
Running the UI
Navigate into the new
pareto-ui/electrondirectory, then run the following command:npm run electron-start