{"id":13602383,"url":"https://github.com/ymm-tech/gods-pen-server","last_synced_at":"2025-04-08T03:14:06.785Z","repository":{"id":35691004,"uuid":"218723237","full_name":"ymm-tech/gods-pen-server","owner":"ymm-tech","description":"码良服务端项目","archived":false,"fork":false,"pushed_at":"2023-04-20T21:31:16.000Z","size":577,"stargazers_count":180,"open_issues_count":22,"forks_count":118,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-31T18:21:13.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ymm-tech.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":"2019-10-31T08:54:22.000Z","updated_at":"2025-02-12T06:38:42.000Z","dependencies_parsed_at":"2024-11-07T05:45:31.390Z","dependency_job_id":null,"html_url":"https://github.com/ymm-tech/gods-pen-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymm-tech%2Fgods-pen-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymm-tech","download_url":"https://codeload.github.com/ymm-tech/gods-pen-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"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":[],"created_at":"2024-08-01T18:01:21.862Z","updated_at":"2025-04-08T03:14:06.761Z","avatar_url":"https://github.com/ymm-tech.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# 码良服务端\n\n\n\n \n\u003cp align=\"center\"\u003e\u003ca href=\"https://godspen.ymm56.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg width=\"200\" src=\"https://godspen.ymm56.com/doc/logo.png\"\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://godspen.ymm56.com/\"\u003e\u003cimg src=\"https://img.shields.io/github/license/ymm-tech/gods-pen\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://godspen.ymm56.com/\"\u003e\u003cimg src=\"https://img.shields.io/github/package-json/v/ymm-tech/gods-pen\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n\n##  :house: 官网\n  \n  官网： https://godspen.ymm56.com/\n\n  使用手册： https://godspen.ymm56.com/doc/cookbook/introduce.html\n\n  在线体验： https://godspen.ymm56.com/admin/#/home\n  \n  私有部署： https://godspen.ymm56.com/doc/cookbook/install.html\n\n\n![](https://ymm-maliang.oss-cn-hangzhou.aliyuncs.com/ymm-maliang/access/ymm_1539588655850.png)\n\n\n \u003cp style=\"font-size:18px;\" align=\"center\"\u003e:point_right: `喜欢别忘了加star支持我们，你的支持是我们坚持的动力` :point_left:\u003c/p\u003e\n\n## 项目构成\n\n码良系统由3个项目构成，分别是 [gods-pen-server](https://github.com/ymm-tech/gods-pen-server) 码良服务端、\n\n[gods-pen-admin](https://github.com/ymm-tech/gods-pen-admin) \n\n码良管理后台以及于7月份就已经开源的 [gods-pen](https://github.com/ymm-tech/gods-pen) 码良编辑器。\n\n\n## 详细部署文档\n\nhttps://godspen.ymm56.com/doc/cookbook/source.html\n\n## 配置说明\n\n码良依赖 es、redis、mysql、邮件、oss服务，因此需要配置这些服务的信息\n\nconfig/ 文件夹下存放了开发配置和生产配置\n\n### 前期准备\n\n除过 mysql 以外，其他服务都开箱即可使用，无需进行初始化之类的操作\n\n**mysql 需要使用 sql/init.sql 来初始化表结构和表数据**\n\n### 开发配置\n\n本地开发时，使用的是配置文件为 config/config.dev.js\n\n### 生成配置\n\n服务器部署时，使用的是配置文件为 config/config.production.js\n\n## 开发\n\n开发\n\n```bash\nnpm run dev\n```\n\ndebug(在vscode中端点调试)\n\n```bash\nnpm run debug\n```\n\n## 部署\n\n启动服务\n\n```bash\nnpm run serve\n```\n\n终止服务\n\n```bash\nnpm run stop\n```\n\n查看日志\n\n```bash\ntail $HOME/logs/master-stdout.log -n 500 -f # stdout\ntail $HOME/logs/master-stderr.log -n 500 -f # stderr\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fgods-pen-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymm-tech%2Fgods-pen-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymm-tech%2Fgods-pen-server/lists"}