{"id":18603008,"url":"https://github.com/ymfe/yapi-cli","last_synced_at":"2025-08-02T13:07:56.140Z","repository":{"id":57403158,"uuid":"104846861","full_name":"YMFE/yapi-cli","owner":"YMFE","description":"YApi可视化接口管理平台部署工具","archived":false,"fork":false,"pushed_at":"2023-01-11T05:01:07.000Z","size":286,"stargazers_count":47,"open_issues_count":15,"forks_count":37,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-03T10:23:34.090Z","etag":null,"topics":["yapi","yapi-cli","yapi-deploy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YMFE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-26T06:48:56.000Z","updated_at":"2024-03-12T03:08:41.000Z","dependencies_parsed_at":"2023-02-09T01:46:06.055Z","dependency_job_id":null,"html_url":"https://github.com/YMFE/yapi-cli","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/YMFE/yapi-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyapi-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyapi-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyapi-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyapi-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YMFE","download_url":"https://codeload.github.com/YMFE/yapi-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMFE%2Fyapi-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268393900,"owners_count":24243315,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["yapi","yapi-cli","yapi-deploy"],"created_at":"2024-11-07T02:13:12.664Z","updated_at":"2025-08-02T13:07:56.077Z","avatar_url":"https://github.com/YMFE.png","language":"JavaScript","readme":"# YApi 平台部署工具\n使用我们提供的 yapi-cli 工具，部署和升级 YApi 平台是非常容易的\n## 环境要求\n* nodejs（7.6+)\n* mongodb（2.6+）\n## 安装\n执行 yapi server 启动可视化部署程序，输入相应的配置和点击开始部署，就能完成整个网站的部署。部署完成之后，可按照提示信息，执行 node/{网站路径/server/app.js} 启动服务器。在浏览器打开指定url, 点击登录输入您刚才设置的管理员邮箱，默认密码为 ymfe.org 登录系统（默认密码可在个人中心修改）。\n\n    npm install -g yapi-cli --registry https://registry.npm.taobao.org\n    yapi server \n    \n    # 指定端口 默认 9090\n    yapi server --port 9290\n## 基本用法\n```\nyapi --help // 查看 yapi-cli 命令\nyapi --version //查看 yapi-cli 当前版本号\n```\n## 升级\n升级项目版本是非常容易的，并且不会影响已有的项目数据，只会同步 vendors 目录下的源码文件。\n```\ncd  {项目目录}\nyapi ls //查看版本号列表\nyapi update //更新到最新版本\nyapi update -v {Version} //更新到指定版本\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymfe%2Fyapi-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymfe%2Fyapi-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymfe%2Fyapi-cli/lists"}