|
|
(13 intermediate revisions by 2 users 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 ==
| |
− |
| |
− | Under process: public links will be available when sensiNact will be publicly pushed to the Git of Eclipse.
| |
− |
| |
− | ----
| |
− |
| |
− | == sensiNact Gateway ==
| |
− |
| |
− | === Requirements ===
| |
− |
| |
− | * Linux (because for now some features haven't been tested on others operating systems yet)
| |
− | * Java 1.7 (OpenJDK JRE or Oracle JRE)
| |
− |
| |
− | === Install ===
| |
− |
| |
− | sensiNact Gateway 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).
| |
− |
| |
− | The gateway is then installed into the <code>/opt/sensinact/</code> folder.
| |
− |
| |
− | === Configure ===
| |
− |
| |
− | sensiNact Gateway can be configured in various ways:
| |
− |
| |
− | 1. Editing the <code>conf/config.properties</code> file. This file list 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 enable to select the modules that will be included in the runtime of sensiNact Gateway. Be careful, some modules depend on others modules.
| |
− |
| |
− | So, be certain to add the USB module to the list of the modules that will be in the runtime.
| |
− |
| |
− | === Run ===
| |
− |
| |
− | To launch sensiNact Gateway, execute the following command:
| |
− |
| |
− | <code>
| |
− | sudo /etc/init.d/sensinact start
| |
− | </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]]
| |