# ZQ 本地运行 这里放 ZQ 的本地运行工具。分两种: - 安全预览:只看静态资源,不连接数据库。 - 完整后台:用本机 Docker/Rancher Desktop 启动 MySQL、Redis、RabbitMQ 和 Tomcat 8,再运行 ZQ。 ## 安全预览 ```bash ./local-run/bin/start-safe.sh ``` ```bash ./local-run/bin/stop-safe.sh ``` ```text http://127.0.0.1:4180/ ``` ## 完整后台 完整后台不会修改原始 `WebRoot` 配置;它会复制一份运行副本到: ```text local-run/runtime/full-local/webapp ``` 启动: ```bash ./local-run/bin/start-full.sh ``` 停止: ```bash ./local-run/bin/stop-full.sh ``` 查看状态: ```bash ./local-run/bin/status-full.sh ``` 访问: ```text http://localhost:4188/ http://localhost:4188/dev/login.jsp ``` 完整后台会优先使用本机已有的 MySQL 5.7;如果本机没有 MySQL,再尝试 Docker / Rancher Desktop。数据库来源是: ```text ../SpaceCore_20220929/Dump20220927.sql ```