Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SensiNact/gateway-installation"

(Created page with "== 1. Install and start sensiNact Gateway == This section explains how to install and start sensiNact Gateway under the Linux operating system. === 1.2. Requirements === se...")
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
[[Category:sensiNact]]
 +
 
== 1. Install and start sensiNact Gateway ==
 
== 1. Install and start sensiNact Gateway ==
  
Line 29: Line 31:
 
=== 1.3. Launch sensiNact Gateway ===
 
=== 1.3. Launch sensiNact Gateway ===
  
* Once installed, enter into the distribution directory: <source lang="bash">cd distribution/sensinact-distribution-generator/target/sensinact</source>
+
* Once installed, enter into the distribution directory: <source lang="bash">cd distribution/generator/target/sensinact</source>
 
* And make the sensinact executable runnable: <source lang="bash">chmod a+x ./sensinct</source>
 
* And make the sensinact executable runnable: <source lang="bash">chmod a+x ./sensinct</source>
 
* You can now configure the modules you need using the following command: <source lang="bash">./sensinact -c</source>
 
* You can now configure the modules you need using the following command: <source lang="bash">./sensinact -c</source>

Latest revision as of 11:09, 23 February 2024


1. Install and start sensiNact Gateway

This section explains how to install and start sensiNact Gateway under the Linux operating system.

1.2. Requirements

sensiNact Gateway requires at least Java 6.0 but some features from third party libraries may require Java 7.0.

1.2. Install from sources

1. Fetch the sources using GIT:

git clone https://git.eclipse.org/r/sensinact/org.eclipse.sensinact.gateway

Note : You can check Sensinact Eclipse project website for more infos

2. Double check that you are running Maven 3:

mvn -version


3. Enter inside the newly created folder of sensiNact and compile it:

  • cd org.eclipse.sensinact.gateway
  • mvn clean install -DskipTests

The sensiNact distribution has been generated inside the repository distribution/sensinact-distribution-generator/target/sensinact.

1.3. Launch sensiNact Gateway

  • Once installed, enter into the distribution directory:
    cd distribution/generator/target/sensinact
  • And make the sensinact executable runnable:
    chmod a+x ./sensinct
  • You can now configure the modules you need using the following command:
    ./sensinact -c

Some modules require to activate others modules to run. For example, each modules using the USB require the USB module to activated. In a near future, we plan to automate the activation of dependencies modules accordingly to the modules activated by the user.

For now, if you don't know what to select, you can start with the following modules:

  • application: the app' manager
  • http: http server
  • json-path: for queries
  • rest: the rest API
  • simulation: the simulated devices

Once, you finished the configuration of the modules, you can start sensiNact using the following command.

./sensinact

Back to the top