# prototypes **Repository Path**: ezi_admin/prototypes ## Basic Information - **Project Name**: prototypes - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-15 - **Last Updated**: 2025-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. 运行 `./prepare.sh` 保证 `prepare.sh` 的内容如下 ``` # cp -r ../yyh_alarm_clustering algorithm/ac/yyh_alarm_clustering # cp -r ../yyh_log_anomaly_detection algorithm/lad/yyh_log_anomaly_detection tar -vczf rca.tar server/rca/ data/rca/ database/rca/ tar -vczf ad.tar server/ad/ data/ad/ database/ad/ tar --exclude algorithm/ac/embs/ -vczf ac.tar server/ac/ data/ac/ database/ac/ algorithm/ac/ tar -vczf lad.tar server/lad/ data/lad/ database/lad/ algorithm/lad/ docker-compose up -d rm *.tar ``` 2. 打开`http://localhost:8000/`, 看5个场景是否正常 1. 根因分析 (对应容器名称:`demo_rca_server`) 2. 日志异常检测 (`demo_lad_server`) 3. 告警压缩聚合 (`demo_ac_server`) 4. 异常检测 (`demos_ad_server`) 5. 陕西移动 (`demo_ad_sxy_server`) 3. 不正常的场景 `docker restart ` 查看日志 用`docker logs -f `追踪这个容器生成的日志, 留意`Serving on http://0.0.0.0:8080`出现的话即可正常运行。 在首次创建容器时,每个场景数据库的初始化需要时长不等的等待时间,待相应数据库初始化完成后后端服务才可正常访问