- Run executable, by example in windows console : "lan-superv.exe --config=D:\SRV_WEB\lanSuperv\config.js" note : if no --config is specified, it's looks for a "config.js" file in the executable directory
- Go to http://localhost:842
- Download and install last stable version of node js for windows :
https://nodejs.org/en/download - Download the application zip and extract it
- Setup node-gyp requirements : https://gist.github.com/jtrefry/fd0ea70a89e2c3b7779c
install Visual Studio 2015 Community Edition https://go.microsoft.com/fwlink/?LinkId=532606&clcid=0x409 open it and create a new C++ project to install commons tools + SDK (works with node version 10.8.0 + .npmrc)
$ npm config set msvs_version 2015 --global
$ npm install -g node-gyp-install
$ npm install -g node-gyp #(node-gyp have to be installed globaly)
- Install dependencies with the command: "npm install"
- Build assets with the command: "npm run dev" (no minified javascript for debug purposes)
- Copy "config.js.sample" to "config.js" and edit the file
- Launch application with the command: "npm start"
- Do all "How to dev ?" steps
- Execute "npm install -g pkg"
- Build application with the command: "npm run build"
- Run in windows console "lan-superv.exe --config=config.js"