|
|
(9 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | = Getting started =
| |
| | | |
− | This page provides a quick and simple guide to install sensiNact Gateway and sensiNact Studio, with a minimum knowledge about the platform.
| |
− |
| |
− | Please refer to other resources of this documentation to learn more about the sensiNact environment.
| |
− |
| |
− | == Download ==
| |
− |
| |
− | The Eclipse sensiNact snapshot version is available [https://projects.eclipse.org/projects/technology.sensinact/downloads here].
| |
− |
| |
− | ----
| |
− |
| |
− | == sensiNact Gateway ==
| |
− |
| |
− | === Requirements ===
| |
− |
| |
− | * Any operating system supporting Java. For now, the sensiNact gateway has been tested on Linux and Windows, on x86 and ARM.
| |
− | * Java 1.7 (OpenJDK JRE or Oracle JRE)
| |
− |
| |
− | === Install ===
| |
− |
| |
− | Once you have downloaded the sensiNact Gateway, unpack it where you want. Then, enter in the resulting folder of sensiNact. Make sure that the <code>sensinact</code> script file can be executed by you. Otherwise, change the rights on this file. This operation depends on your operating system.
| |
− |
| |
− | === Configure ===
| |
− |
| |
− | sensiNact Gateway can be configured in various ways:
| |
− |
| |
− | 1. Editing the <code>conf/config.properties</code> file. This file lists a set of options, from the port for the HTTP server to the log level. Have a look at this file to see what you can modify to fit your needs ;
| |
− |
| |
− | 2. Executing the following command in a terminal inside the sensinact folder:
| |
− |
| |
− | <code>
| |
− | ./sensinact -c
| |
− | </code>
| |
− |
| |
− | It enables to select the modules that will be included in the runtime of sensiNact Gateway. Be careful, some modules depend on others modules.
| |
− |
| |
− | === Run ===
| |
− |
| |
− | To launch sensiNact Gateway, execute the following command:
| |
− |
| |
− | <code>
| |
− | ./sensinact
| |
− | </code>
| |
− |
| |
− | === Troubleshooting ===
| |
− |
| |
− | See [[SensiNact/Gateway Troubleshooting|Gateway troubleshooting]]
| |
− |
| |
− | ----
| |
− |
| |
− | == sensiNact Studio ==
| |
− |
| |
− | === Requirements ===
| |
− |
| |
− | * Linux (because for now some features haven't been tested on Windows yet)
| |
− | * Java 1.7 (OpenJDK JRE or Oracle JRE)
| |
− |
| |
− | === Install ===
| |
− |
| |
− | sensiNact Studio is provided in a ''.deb'' file. Thus, you can install it using either ''[https://help.ubuntu.com/lts/serverguide/dpkg.html dpkg]'' or the graphical interface of your Linux operating system (e.g., synaptic).
| |
− |
| |
− | === Run ===
| |
− |
| |
− | Open a terminal and execute the following command:
| |
− |
| |
− | <code>
| |
− | sensinact-studio
| |
− | </code>
| |
− |
| |
− | You can also find the launcher into the menu of the operating system.
| |
− |
| |
− | === Troubleshooting ===
| |
− |
| |
− | See [[SensiNact/Studio Troubleshooting|Studio troubleshooting]]
| |