You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66-26Lines changed: 66 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,11 @@ It provides the communication layer, control software and multi-platform
11
11
libraries to bootstrap development of smart energy, home automation, remote
12
12
sensing, telemetry, remote control and monitoring software and much more.
13
13
14
-
Connect embedded Linux using Python or C++ libraries and JSON protocol or
15
-
connect AVR, Microchip devices using lightweight C libraries and BINARY protocol.
16
-
Develop client applications using HTML5/JavaScript, iOS and Android libraries.
17
-
For solutions involving gateways, there is also gateway middleware that allows
18
-
to interface with devices connected to it. Leave communications to DeviceHive
19
-
and focus on actual product and innovation.
14
+
Connect embedded Linux using Python, Node.js or Java libraries and JSON format.
15
+
Write and read your data via REST, Websockets or MQTT, explore visualization on [Grafana](https://grafana.com/plugins/devicehive-devicehive-datasource/installation) charts.
16
+
17
+
Develop client applications using HTML5/JavaScript and Android libraries.
18
+
Leave communications to DeviceHive and focus on actual product and innovation.
20
19
21
20
DeviceHive license
22
21
------------------
@@ -32,35 +31,42 @@ highly encouraged to do so!
32
31
33
32
Docker Container
34
33
=========================================
35
-
We have published a DeviceHive docker container so you can utilize docker's virtualization features with DeviceHive.
36
-
Check out [DeviceHive on Docker Hub](https://hub.docker.com/r/devicehive/devicehive/) with the instructions on
37
-
how to use it. You can check dockerfile implementation as well as the script for setting up a new instance running
38
-
under nginx on [DeviceHive Docker](https://github.com/devicehive/devicehive-docker)
34
+
DeviceHive could be deployed manually, via Docker Compose or to Kubernetes cluster.
35
+
Our suggestion is to start from [Docker Compose](https://docs.docker.com/compose/) - the easiest way to start your
36
+
mastering DeviceHive capabilities. Instructions could be found [here](https://github.com/devicehive/devicehive-docker/tree/master/rdbms-image).
37
+
In case you're more familiar with [Kubernetes](https://kubernetes.io/), please follow this
38
+
[link](https://github.com/devicehive/devicehive-docker/tree/master/k8s) for detailed instructions.
39
39
40
40
DeviceHive Java installation instructions
41
41
=========================================
42
42
43
+
Though docker-compose installation is the most developer-friendly way of running DeviceHive locally, sometimes it's required
44
+
to build and start project manually. Below you can find detailed instructions on that.
45
+
43
46
Prerequisites
44
47
-------------
45
48
In order to use DeviceHive framework you must have the following components installed and configured:
46
49
*[PostgreSQL 9.1](http://www.postgresql.org/download/) or above.
47
50
*[Apache Kafka 0.10.0.0](http://kafka.apache.org/downloads.html) or above.
48
-
*[Oracle JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or [OpenJDK 8](http://openjdk.java.net/)
49
-
*[Maven](http://maven.apache.org/download.cgi)
50
-
*[DeviceHiveJava source files](https://github.com/devicehive/devicehive-java-server). This is the main part of the [DeviceHive] framework
51
+
*[DeviceHive Websocket Proxy](https://github.com/devicehive/devicehive-ws-proxy) running (relies on Kafka,
52
+
so should be started only when Kafka is up and running).
Execute following command from ${devicehive-java-server-directory}.
65
71
66
72
`mvn clean package`
@@ -75,7 +81,7 @@ You need to update zookeeper.connect (zookeeper's contact point) and bootstrap.s
75
81
76
82
Running Hazelcast
77
83
-----------------------
78
-
To start download Hazelcast IMDG 3.8.1 from official site (`https://hazelcast.org/download/`), extract to local drive and create in Hazelcast bin folder file hzstart.sh with folling contents:
84
+
To start, download Hazelcast IMDG 3.8.1 from official site (`https://hazelcast.org/download/`), extract to local drive and create in Hazelcast bin folder file hzstart.sh with following contents:
0 commit comments