VERIFI is a tool that is a member of Oak Ridge National Laboratory's Industrial Resources suite of applications. It can be used to to track, visualize, and analyze facility utility data in industrial settings. Development plans for the tool are to incorporate, modernize and expand upon several existing DOE tools (EnPI, EnPI Lite, Energy Footprint Tool, Plant Energy Profiler), most of which currently are excel-based or excel-add ons.
VERIFI, like it's sibling applications MEASUR and JUSTIFI, is developed as a web application but is also packaged and distributed as an installable desktop application.
The latest web version of the application can be found at https://verifi.ornl.gov
Installable versions of the application can be found under the releases section of this repository.
Alternatively, downloads and additional information about ORNL's suite of tools can be found at ORNL's Industrial Resources site.
Track our progress and planned work on the VERIFI GitHub Project Board.
This tool is written in the Angular framework (TypeScript) and uses Electron for cross-platform desktop builds.
If you plan to contribute code changes to this repository, please review the contributing guidelines first.
- We are using NodeJS nodejs.org. See
package.jsonfor currently supported version. - This project was generated with Angular CLI, and is typically updated to latest versions of angular as often as is reasonable.
- To install all required packages:
npm install - When developing for web, run
npm run startfor a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files.
- It is recommended to develop using the web version of the application unless you want to add an Electron specific feature.
- When developing in the Electron window, use
npm run build-watchand a re-build will trigger on save of changes. - After the app is built using the command above, you will have to start the Electron app in a second terminal window. To start the Electron app use
npm run electron. You will have to kill and restart the Electron app after changes are made.
- Built artifacts will be stored in the
/distdirectory. - General build for Electron:
npm run build - Production Web Build:
npm run build-prod - Production Electron Build:
npm run build-prod-electron
npm run distwill create Electron installers for your operating system.- Installer will be created in an
./output/directory.
-
Run
electron-builder -mto build and sign your mac dmg. -
Run
xcrun altool --notarize-app --primary-bundle-id "com.ornl.verifi" --username "<APPLE USERNAME>" --password "<APPLE APP PASSWORD>" --file VERIFI-x.x.x-x.dmg -itc_provider "<CERT UID>" --verboseto notarize your signed dmg. -
Run
xcrun stapler staple VERIFI-x.x.x-x.dmgto staple the notarization.
Note: APPLE APP PASSWORD is an app-specific password (not your Apple ID password).
This project is licensed under the MIT License. See LICENSE for details.