{"id":13624888,"url":"https://github.com/baizunxian/zerorunner","last_synced_at":"2025-04-16T01:32:53.255Z","repository":{"id":38108228,"uuid":"484946825","full_name":"baizunxian/zerorunner","owner":"baizunxian","description":"一个全栈测试自动化平台，使用fastapi + vue3 ，快速实现接口自动化，方便维护扩展","archived":false,"fork":false,"pushed_at":"2025-02-28T08:46:14.000Z","size":12693,"stargazers_count":281,"open_issues_count":7,"forks_count":89,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-28T15:19:39.703Z","etag":null,"topics":["api","autotest","celery","fastapi","python","vue3"],"latest_commit_sha":null,"homepage":"https://zerorunner.cn","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baizunxian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-24T06:40:19.000Z","updated_at":"2025-02-28T08:46:17.000Z","dependencies_parsed_at":"2023-09-26T15:38:18.931Z","dependency_job_id":"372e6af1-5c42-4b20-898e-1d807ebe2140","html_url":"https://github.com/baizunxian/zerorunner","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baizunxian%2Fzerorunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baizunxian%2Fzerorunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baizunxian%2Fzerorunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baizunxian%2Fzerorunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baizunxian","download_url":"https://codeload.github.com/baizunxian/zerorunner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182473,"owners_count":21226072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","autotest","celery","fastapi","python","vue3"],"created_at":"2024-08-01T21:01:47.718Z","updated_at":"2025-04-16T01:32:53.248Z","avatar_url":"https://github.com/baizunxian.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"#### 🌈 介绍\n\n#### 后端\n- 基于 python3 + fastApi + celery + sqlalchemy + redis\n\n- 使用软件版本\n- python version \u003c3.13\n- mysql version 5.7.43\n- redis version 6.0.9\n\n#### 前端\n\n- 基于 vite + vue3 + element-plus\n\n- 使用软件版本\n- node version 16.22.0\n- vue  version 3.2.45\n- element-plus  version 2.2.26\n\n\n#### 💒 平台地址地址\n- github \nhttps://github.com/baizunxian/zerorunner\n- gitee\nhttps://gitee.com/xb_xiaobai/zerorunner\n\n#### ⛱️ 线上预览\n\n- ZERO AUTOTEST\n  自动化测试平台在线预览 \u003ca href=\"https://zerorunner.cn\" target=\"_blank\"\u003ehttps://zerorunner.cn\u003c/a\u003e\n\n- 首页\n  ![](static/img/index.png)\n- 报告页面\n  ![](static/img/report.png)\n- 自定义函数\n  ![](static/img/func.png)\n\n#### 🚧 项目启动初始化-后端\n\n```bash\n# 克隆项目\ngit clone https://github.com/baizunxian/zerorunner.git\n\n# 数据库脚本 将内容复制数据库执行 需要新建数据库 zerorunner\nbackend/db_script/zerorunner.sql  \n\n# MySQL版本 8.0.23 查询问题\n# 问题 which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by\n# 执行一下语句\nset @@global.sql_mode = 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';\n\n# 配置修改\n# 复制backend/.env.example 为 .env 文件\n# 修改对应配置\n# 修改对应的数据库地址，redis 地址\nbackend/config.py\n# 或者\nbackend/.env # 环境文件中的地址修改\n\n# 安装依赖\npip install -r  requirements\n\n# 运行项目 zerorunner/backend 目录下执行\npython main.py\n\n# 异步任务依赖 celery 启动命令\n\n#  windows 启动，只能单线程 zerorunner/backend 目录下执行\ncelery -A celery_worker.worker.celery worker --pool=solo -l INFO \n\n# linux 启动\nelery -A celery_worker.worker.celery worker --loglevel=INFO -c 10 -P solo -n zerorunner-celery-worker\n\n# 定时任务启动\ncelery -A celery_worker.worker.celery beat -S celery_worker.scheduler.schedulers:DatabaseScheduler -l INFO\n\n# 定时任务心跳启动\ncelery -A celery_worker.worker.celery beat  -l INFO \n\n```\n\n#### 🚧 项目启动初始化-前端\n\n```bash\n# node 版本\nnode -v \nv16.22.0\n```\n\n- 复制代码(桌面 cmd 运行) `npm install -g cnpm --registry=https://registry.npm.taobao.org`\n- 复制代码(桌面 cmd 运行) `npm install -g yarn`\n\n```bash\n# 克隆项目\ngit clone https://github.com/baizunxian/zerorunner.git\n\n# 进入项目\ncd zerorunner/frontend\n\n# 或者\nyarn install\n\n# 修改配置\n.env.development # 开发环境\n.env.production # 生产环境\n\nVITE_API_BASE_URL # 后端接口地址\nVITE_API_PREFIX # 后端接口前缀\nVITE_WBE_SOCKET_URL # websocket 地址\n\n# 运行项目\nyarn dev\n\n# 打包发布\nyarn build\n\n```\n\n#### 💯 学习交流加 微信 群\n\n- 或者添加我的微信，我可以拉你们进入交流群\n  ![](static/img/weixin.png)\n\n#### 💌 支持作者\n\n如果觉得框架不错，或者已经在使用了，希望你可以去 \u003ca target=\"_blank\" href=\"https://github.com/baizunxian/zerorunner\"\u003e\nGithub\u003c/a\u003e 帮我点个 ⭐ Star，这将是对我极大的鼓励与支持, 平台会持续迭代更新。\n\n#### 请我喝杯咖啡\n- ![](static/img/weixinzhanshang.jpg) \n- ![](static/img/zhifubaozhanshang.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaizunxian%2Fzerorunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaizunxian%2Fzerorunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaizunxian%2Fzerorunner/lists"}