40 lines
762 B
Markdown
40 lines
762 B
Markdown
# node-ethernet-ip-electron
|
|
|
|
[](https://travis-ci.com/Henry-Pump/MaxWaterSystem-Electron)
|
|
|
|
A basic electron app to read values from a PLC.
|
|
|
|

|
|
|
|
## Install
|
|
|
|
``` bash
|
|
# Clone the repository
|
|
$ git clone https://github.com/patrickjmcd/node-ethernet-ip-electron
|
|
|
|
# Go into the repository
|
|
$ cd node-ethernet-ip-electron
|
|
|
|
# Install dependencies
|
|
$ npm install
|
|
```
|
|
|
|
## Develop
|
|
|
|
Just run this command to start developing with hot reloading.
|
|
|
|
``` bash
|
|
# Start electron and the webpack dev server
|
|
$ npm start
|
|
```
|
|
|
|
## Testing
|
|
|
|
``` bash
|
|
# Run the tests
|
|
$ npm test
|
|
|
|
# Run the tests in a watched environment
|
|
$ npm run test:watch
|
|
```
|