Getting Started
installation
To install the Sterfive OPCUA Omni Edge Server, you need to have Node.js installed on your system.
Once Node.js is installed, you can install the server using npm.
first time installation
You'll need to register to the Sterfive NPM repository to install the package. You can do this by running the following command in your terminal:
$ npm login --registry=http://gitlab.stertfive.fr:4873
Installation or update of the package
After logging in, you can install the Sterfive OPCUA Omni Edge Server package using npm. This will download and install the package along with its dependencies:
$ npm install @stertfive/opcua-omni-edge
How to run the server
- starting the server in run mode: use the
runcommand followed by the path to the configuration file. This will start the server with the specified configuration. Use CTRl+C to stop the server.
$ node omni-edge-server.js run -c config.yaml
- starting the server in watch mode: add the
-wor--watchoption to the command line. This will start the server and watch for changes in the configuration file. If any changes are detected, the server will automatically reload the configuration.
$ node omni-edge-server.js run -c config.yaml -w