This is the showcase project to demonstrate all components provided by ScadaJS, authentication and authorization mechanism, realtime capabilities and some component customizations.
See in action at https://aktos.io/showcase
-
Install Node.js
-
Install global dependencies for the first time, as admin/root
npm install -g gulp livescript@1.4.0
-
Download the project template, install project dependencies:
git clone https://github.com/aktos-io/scadajs-template myproject cd myproject git submodule update --init --recursive cd scada.js npm install
If you are on Linux, following commands will start everything needed for development:
-
On the first terminal:
./uidev.service
-
On the second terminal:
./server.service
-
Start continuous build of showcase webapp:
cd scada.js gulp --webapp showcase
-
Start webserver and dcsserver:
cd servers ./run-ls webserver.ls
-
Your webserver should start on port 4004. Open your web browser and go to http://localhost:4004.
-
Optional: To monitor all traffic, run
monitor.ls
:cd servers ./run-ls monitor.ls