management-center

所属分类:hotest
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-07-02 01:37:04
上 传 者sh-1993
说明:  Eclipse Mosquito的管理中心
(The management center for Eclipse Mosquitto)

文件列表:
.dockerignore (41, 2023-11-15)
.prettierignore (34, 2023-11-15)
.prettierrc.yml (115, 2023-11-15)
.travis.yml (3952, 2023-11-15)
Dockerfile (622, 2023-11-15)
LICENSE (11341, 2023-11-15)
backend/ (0, 2023-11-15)
backend/esbuild.js (2899, 2023-11-15)
backend/media/ (0, 2023-11-15)
backend/media/logo-red.png (5366, 2023-11-15)
backend/media/logo.png (3301, 2023-11-15)
backend/package.json (772, 2023-11-15)
backend/src/ (0, 2023-11-15)
backend/src/actions/ (0, 2023-11-15)
backend/src/actions/actions.js (16032, 2023-11-15)
backend/src/broker/ (0, 2023-11-15)
backend/src/broker/BrokerManager.js (1295, 2023-11-15)
backend/src/client/ (0, 2023-11-15)
backend/src/client/BaseMosquittoClient.js (6681, 2023-11-15)
backend/src/client/NodeMosquittoClient.js (14927, 2023-11-15)
backend/src/config/ (0, 2023-11-15)
backend/src/config/ConfigManager.js (12362, 2023-11-15)
backend/src/errors/ (0, 2023-11-15)
backend/src/errors/NotAuthorizedError.js (187, 2023-11-15)
backend/src/http/ (0, 2023-11-15)
backend/src/http/HTTPClient.js (2206, 2023-11-15)
backend/src/license/ (0, 2023-11-15)
backend/src/license/License.js (1308, 2023-11-15)
backend/src/license/LicenseChecker.js (1546, 2023-11-15)
backend/src/license/LicenseContainer.js (587, 2023-11-15)
backend/src/license/LicenseKey.js (1093, 2023-11-15)
backend/src/license/index.js (203, 2023-11-15)
backend/src/license/utils/ (0, 2023-11-15)
backend/src/license/utils/config/ (0, 2023-11-15)
backend/src/license/utils/config/public.pem (451, 2023-11-15)
backend/src/license/utils/index.js (133, 2023-11-15)
backend/src/license/utils/loadLicense.js (1067, 2023-11-15)
backend/src/license/utils/readFile.js (505, 2023-11-15)
... ...

# Management Center The management center for Eclipse Mosquitto. See the [official documentation](https://docs.cedalo.com/) for additional details.
## Run in development mode Either go to [official documentation page](https://docs.cedalo.com/management-center/2.4/installation/) and follow steps there or clone this repository and then: * Intstall `Docker` and `docker-compose` * Intstall `yarn` package manager * Run the Mosquitto broker: * Create `mosquitto` directory * Go inside this directory, create `config` and `data` directories * Go inside `config` directory and create config file `mosquitto.conf` * You can find an example of such file [here](https://github.com/eclipse/mosquitto/blob/master/mosquitto.conf). Be sure to uncomment or add the following lines to this file: ``` listener 1883 allow_anonymous true ``` * Inside the `mosquitto` directory create a `docker-compose.yaml` file with the following content: ``` version: '3.8' services: mosquitto: image: eclipse-mosquitto:2 ports: - 127.0.0.1:1883:1883 - 127.0.0.1:8080:8080 - 8883:8883 volumes: - ./mosquitto/config:/mosquitto/config - ./mosquitto/data:/mosquitto/data networks: - mosquitto networks: mosquitto: name: mosquitto driver: bridge ``` * Inside `mosquitto` directory run the following command to start the broker: ``` docker-compose up ``` * Now, when Mosquitto broker is installed, go to the root directory of the Management Center and run: ``` yarn install ``` * Go to the `/frontend` folder and run: ``` yarn run build-without-base-path ``` * Set the following environmental variables (Note that `export` command works for Unix. For Windows use `set`): ``` export CEDALO_MC_BROKER_ID="mosquitto" \ export CEDALO_MC_BROKER_NAME="Mosquitto" \ export CEDALO_MC_BROKER_URL="mqtt://localhost:1883" \ export CEDALO_MC_BROKER_USERNAME="" \ export CEDALO_MC_BROKER_PASSWORD="" \ export CEDALO_MC_USERNAME="cedalo" \ export CEDALO_MC_PASSWORD="tests" \ export CEDALO_MC_PROXY_HOST="localhost" \ ``` * Go to the `backend` directory and run: ``` yarn start ``` * Go to `http://localhost:8088` to start working with the Management Center for Eclipse Mosquitto

近期下载者

相关文件


收藏者