Skip to content

openthc/app-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An Electron hosted application for OpenTHC Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published