{"id":26485112,"url":"https://github.com/ovineio/ovineherd","last_synced_at":"2025-03-20T05:55:20.061Z","repository":{"id":49764570,"uuid":"306838007","full_name":"ovineio/ovineherd","owner":"ovineio","description":"A platform for build web admin system app.  (测试账号 demo110/demo110)","archived":false,"fork":false,"pushed_at":"2021-10-01T02:44:17.000Z","size":28098,"stargazers_count":109,"open_issues_count":5,"forks_count":35,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-22T06:04:48.668Z","etag":null,"topics":["admin","lowcode","ovine"],"latest_commit_sha":null,"homepage":"http://ovine.igroupes.com/platform/center/org/127350080645627904/application","language":"TypeScript","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/ovineio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-24T08:21:12.000Z","updated_at":"2024-03-22T06:04:48.669Z","dependencies_parsed_at":"2022-08-30T09:41:36.790Z","dependency_job_id":null,"html_url":"https://github.com/ovineio/ovineherd","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/ovineio%2Fovineherd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovineio%2Fovineherd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovineio%2Fovineherd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovineio%2Fovineherd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ovineio","download_url":"https://codeload.github.com/ovineio/ovineherd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560362,"owners_count":20472219,"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":["admin","lowcode","ovine"],"created_at":"2025-03-20T05:55:19.469Z","updated_at":"2025-03-20T05:55:20.056Z","avatar_url":"https://github.com/ovineio.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"### Ovine Herd\n\n可在线构建管理系统 \b 应用的平台。本项目为前后端分离架构。前端采用 `react`与微前端 技术栈，后端采用 `golang` 开发。\n\n## 前端部分\n\n\u003e 本地开发启动前端部分 [前端部分文档](https://ovine.igroupes.com/org/docs/intro/overview/)\n\n- `yarn install` 安装本项目基础依赖\n- `yarn all:install` 安装子应用依赖，由于网络问题，全部安装，极其容易出错，当某个子应用安装出错，可以只对某一个重新安装就行，不需要每次都重复执行这一个命令\n- `yarn all:gen` 生成子应用静态文件\n- `yarn all:start` 启动所有项目\n\n###### 注意:\n\n[前端项目详细文档](http://ovine.igroupes.com/org/docs/intro/overview/)\n\n由于本地使用了 `localhost:7049` 作为 API 接口，因此需要你在本地启动API服务。（本地API服务启动方式，见下方）如果你不需要本地启动服务器，可以使用测试服 API，可以将 对应配置注释即可。\n\n\n- `apps/platform/src/core/env.ts` 中 `localhost.domains.api` 注释\n- `apps/rubik/src/core/env.ts` 中 `localhost.domains.api` 注释\n\n比如:\n\n```javascript\n// 本地开发\n  localhost: {\n    domains: {\n      // api: 'http://localhost:7049', // 注释此行，即可使用测试服API\n    },\n  }\n```\n\n#### 访问路由\n\n- `http://localhost:7060/platform/center/sys/admin` 平台用户登录\n  - 如果是测试服 API 可使用: `super01/super01` 登录\n\n## 服务端部分\n服务端部分代码 `./server/uniadmin/`\n\n\u003e 本地开发启动后端部分\n\n- 配置项目: 修改 `./server/uniadmin/conf/app.conf` 对应内容\n- 初始化mysql数据库（有以下两选择）\n  - 方案1: 执行 `./server/uniadmin/conf/ovineherd_demo.sql` 初始化带有demo数据数据库，可以快速上手使用。 平台登录账号 `rootadmin/admin123`\n  - 方案2: 执行 `./server/uniadmin/conf/db_tables.sql` 初始化空数据库，数据需要自己手动添加\n- 启动服务\n  - windows\n    - 项目配置，初始化数据库后，直接执行 `./server/uniadmin/base_service.exe`\n  - linux/macos\n    - 安装 `golang` 运行环境\n    - 在当前项目根目录下执行：`yarn start:server:uniadmin`\n\n###### 注意:\n\n目前新版本正在研发，**新版本将不再使用此后端部分。**\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovineio%2Fovineherd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovineio%2Fovineherd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovineio%2Fovineherd/lists"}