This guide helps developers make the construction of libraries and server/middleware.
Prerequisites
- Git
- Java 1.8
OpenDevice requires Java 1.8. To check that you have the latest JDK, please run:
...
If you don’t have, check the installation guides ( Ubuntu / Windows)
Get Sources
Compile and install Libs
OpenDevice is a series of libraries available in Maven Repository, so you can use Maven to build the project.
...
After finishing, the latest versions of libraries will be installed on the local maven repository and may be used by other projects
Build Middleware/Server
Optionally you can build the server / middleware, used to integrate between applications, devices and data analysis
Go to the source folder (OpenDevice/opendevice-
...
middleware) and run:
chmod +x server.sh
./server.sh compile
This will generate the file: /opendevice-middleware/target/opendevice-middleware-distribuition.zip
Now you can start server, see this guide.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
chmod +x server.sh ./server.sh compile |
...