## 使用手册 创建种子时,要查看种子内的地图编号,使得地图编号和种子文件的地图编号一致 ## 项目部署 ```shell # 主项目 git clone root@git.mooctest.com:vehicle-network-crowdsourcing/fuzz-scene-sim-test.git # 子模块获取或更新 git submodule update --init --recursive ``` ## 项目提交 ```shell # 提交主项目 git add . git commit -m "xxx" git push origin master # 提交子模块 cd FuzzScene git add . git commit -m "xxx" git push origin master ``` ## 数据库初始化 ### mysql账号初始化 ```shell create database test; CREATE USER 'test'@'%' IDENTIFIED BY 'test'; grant all privileges on test.* to 'test'@'%'; use test; source mysql/springboot.sql; ``` ### 表初始化 ## docker-compose 启动 ## k8s 启动 1. 需要运行 minikube mount ./mysql/data:/tmp/fuzzs-scene-sim-test/mysql/data 将mysql的数据挂载到minikube中 minikube mount E:\project\mooctest\vehicle-crowdsourcing\FuzzsSceneSimTest\mysql:/home/fuzzs-scene-sim-test/mysql minikube start --mount-string E:\project\mooctest\vehicle-crowdsourcing\FuzzsSceneSimTest\mysql:/home/fuzzs-scene-sim-test/mysql --mount 2. kubeclt apply -f mdeployments.yaml