-
Notifications
You must be signed in to change notification settings - Fork 304
ECL Watch Development
Gordon Smith edited this page Jan 24, 2018
·
3 revisions
There are several approaches to creating a development environment for ECL Watch, this page focuses on two of the common approaches
- Build + Deploy a HPCC Platform to a remote server (or VM) via the usual mechanism.
- On a local client machine (Windows / OSX / Linux) ensure you have NodeJS 8.x (LTS) installed:
https://nodejs.org/en/
- Clone the HPCC Platform Sources from GitHub:
git clone https://github.com/hpcc-systems/HPCC-Platform.git
cd HPCC-Platform
git submodule update --init --recursive
- Navigate to the ECL Watch source folder (esp/src) and install the third party dependencies
cd ./esp/src
npm install
- Compile the local TypeScript files to JavaScript
npm run compile
- Configure the target server in
lws.config.js
:
const debugServerIP = "192.168.3.22";
- Start the development server:
npm run start:dev
- Open a web browser and navigate to:
http://localhost:8080/stub.htm?nopack=1