IoTDB-UI is a management system that can deeply manage IoTDB. It provides precise management at the desktop software level. I hope it will be helpful for you when using IoTDB.
0.12.5
Java 1.8 or above
Maven 3.3.0 or above
Nginx
See https://github.com/limeng32/iotdbui-back/blob/docker/README.md
1.In the project root directory execute mvn clean install
to compile, then you can find the iotdb-ui-0.12.5.jar file in the target folder
2.Make sure the sqlite file iotdbui.db
exists in the project root directory. If you use another database, you need to modify the src/main/resources/application.yml
file
3.The sending mail service has been added since 0.12.4
. If you need to use this feature, you need to have a mailbox with the smtp service enabled, and then add the application.yml file in the project root directory and add the mailbox configuration, and The frontend (ie IP and port) frontend of IoTDB-UI. For example, the configuration on the demo server is as follows:
iotdbui:
frontend: 115.28.134.232:8800
email:
port: 465
host: 'smtp.xxx.com.'
username: '[email protected]'
password: 'xxxxxx'
If you do not add these contents to the configuration file, it will not affect the use of the default account to log in to the system, but you cannot use the email-based account registration, password retrieval and other features
4.Start backend and frontend services:
-
In the project root directory execute
java -jar target/iotdb-ui-0.12.5.jar --spring.config.location=application.yml
to startup, 8080 port is used by default -
Map the contents in
/front/dist
or the front-end project compiled by yourself to a port through nginx. For example, the following configuration maps the application to port 8040:
server {
listen 8040;
server_name localhost;
location / {
root iotdbui-back/front/dist;
index index.html;
}
location /api/ {
proxy_pass http://localhost:8080/api/;
}
}
- If you enable the websocket feature on nginx, you can get a better user experience. If you do not enable it, it will not affect the use at all;
5.Now use your browser to open the port you previously set (for example http://localhost:8040/ ), start to enjoy iotdb!