{"id":16640020,"url":"https://github.com/luoyunchong/igeekfan-docs","last_synced_at":"2025-07-10T15:42:35.553Z","repository":{"id":38828352,"uuid":"243743198","full_name":"luoyunchong/igeekfan-docs","owner":"luoyunchong","description":"为开发者提供CMS、dotNET、FreeKit 相关文档","archived":false,"fork":false,"pushed_at":"2024-10-01T08:10:50.000Z","size":18780,"stargazers_count":11,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-13T07:07:34.146Z","etag":null,"topics":["cms","dotnetcore","freekit","freesql","lin-cms-dotnetcore","vue","vuepress","vuepress-next","vuepress-theme-hope"],"latest_commit_sha":null,"homepage":"https://igeekfan.cn","language":"Shell","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/luoyunchong.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-28T11:06:19.000Z","updated_at":"2024-10-01T08:10:53.000Z","dependencies_parsed_at":"2024-07-29T02:43:30.707Z","dependency_job_id":"1764d848-8085-4edf-a248-b889613d1a05","html_url":"https://github.com/luoyunchong/igeekfan-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoyunchong%2Figeekfan-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoyunchong%2Figeekfan-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoyunchong%2Figeekfan-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luoyunchong%2Figeekfan-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luoyunchong","download_url":"https://codeload.github.com/luoyunchong/igeekfan-docs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221816454,"owners_count":16885337,"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":["cms","dotnetcore","freekit","freesql","lin-cms-dotnetcore","vue","vuepress","vuepress-next","vuepress-theme-hope"],"created_at":"2024-10-12T07:07:39.908Z","updated_at":"2024-10-28T10:22:13.158Z","avatar_url":"https://github.com/luoyunchong.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Freekit Docs\n\n项目使用 vuepress，其可专注于文档构建\n\n## install\n\n```bash\nnpm install -g pnpm@next-7\n```\n\n```bash\npnpm install\n```\n\n## run\n\n```bash\npnpm dev:vite\n```\n\n## build\n\n```bash\npnpm build:vite\n```\n\n## upgrade package\n\n```bash\npnpm i -D vuepress@next\n```\n\n## vuepress\n\n该采用`vuepress-next`搭建，内置`md`，可以采用`vue`语法，vue 作者出品,UI 主题是 vuepress-theme-hope\n\n- [https://vuepress-theme-hope.github.io/v2/](https://vuepress-theme-hope.github.io/v2/)\n\n## 文档源码\n\n- [https://github.com/luoyunchong/igeekfan-docs](https://github.com/luoyunchong/igeekfan-docs)\n- [https://gitee.com/igeekfan/igeekfan-docs](https://gitee.com/igeekfan/igeekfan-docs)\n\n## 部署地址\n\n- [https://luoyunchong.github.io/igeekfan-docs/](https://luoyunchong.github.io/igeekfan-docs)\n- [https://igeekfan.gitee.io/igeekfan-docs/](https://igeekfan.gitee.io/igeekfan-docs)\n- [https://igeekfan.cn](https://igeekfan.cn)\n\n## package.json 介绍\n\npackage.json 有这些命令\n\n```bash\n  \"scripts\": {\n    \"build:vite\": \"vuepress-vite build docs\",\n    \"dev:vite\": \"vuepress-vite dev docs\",\n  },\n```\n\n所以我们可以 pnpm dev:vite 或 pnpm build:vite\n\n## 自动发布 至 github pages\n\n### 在 git bash 中执行\n\n```bash\npnpm deploy\n```\n\n或\n\n### powershell 中执行如下内容\n\n```bash\n.\\deploy.ps1\n```\n\n## nginx 配置 \n\nnginx 相关配置，/etc/nginx/conf.d/新建一个以.conf 为后缀的文件即可。\n\n```bash\ncd /etc/nginx/conf.d/\ntouch igeekfan-docs.conf\n```\n\n```conf\nserver {\n    listen 80;\n    server_name www.igeekfan.cn;\n    root /var/www/html/igeekfan-docs;\n    charset utf-8;\n    location /  {\n        proxy_set_header   X-Real-IP $remote_addr;\n        proxy_set_header   Host      $http_host;\n    }\n}\n```\n\n```bash\n# 判断配置是否有效\nnginx -t\n# 加载配置项\nnginx -s reload\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluoyunchong%2Figeekfan-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluoyunchong%2Figeekfan-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluoyunchong%2Figeekfan-docs/lists"}