Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.34 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.34 KB

OpenTHC Electron Application

This app is the minimal scaffolding necessary for OpenTHC to deploy services in a desktop environment.

You can run directly from the repo-root or build and put on your machines.

npm start -- --url=<app_host>
./node_modules/.bin/electron ./ --url=<app_host>

Configuration

Other configuration options may be specific to your build, or your companies build. Typically these are stored in the application root as config.json.

Building

Building for Windows on Linux requires Wine.

git clone
npm update
./node_modules/.bin/electron-builder --windows
./node_modules/.bin/electron-builder --mac
./node_modules/.bin/electron-builder --linux

For Raspberry Pi

./node_modules/.bin/electron-builder --linux AppImage --armv7l

Printing

Search: direct print a pdf document from electron to local printer

Scale Integration

TODO: Improve serial port integration

Lab Instruments

TODO: Improve Lab Instrument integrations