1 Star 0 Fork 75

蒋志 / gods-pen-server

forked from ymm-tech / gods-pen-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

码良服务端

License

:house: 官网

官网: https://godspen.ymm56.com/

使用手册: https://godspen.ymm56.com/doc/cookbook/introduce.html

在线体验: https://godspen.ymm56.com/admin/#/home

私有部署: https://godspen.ymm56.com/doc/cookbook/install.html

:point_right: `喜欢别忘了加star支持我们,你的支持是我们坚持的动力` :point_left:

项目构成

码良系统由3个项目构成,分别是 gods-pen-server 码良服务端、

gods-pen-admin

码良管理后台以及于7月份就已经开源的 gods-pen 码良编辑器。

详细部署文档

https://godspen.ymm56.com/doc/cookbook/source.html

配置说明

码良依赖 es、redis、mysql、邮件、oss服务,因此需要配置这些服务的信息

config/ 文件夹下存放了开发配置和生产配置

前期准备

除过 mysql 以外,其他服务都开箱即可使用,无需进行初始化之类的操作

mysql 需要使用 sql/init.sql 来初始化表结构和表数据

开发配置

本地开发时,使用的是配置文件为 config/config.dev.js

生成配置

服务器部署时,使用的是配置文件为 config/config.production.js

开发

开发

npm run dev

debug(在vscode中端点调试)

npm run debug

部署

启动服务

npm run serve

终止服务

npm run stop

查看日志

tail $HOME/logs/master-stdout.log -n 500 -f # stdout
tail $HOME/logs/master-stderr.log -n 500 -f # stderr
MIT License Copyright (c) 2019 Ymm Tech Master Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

码良平台服务端代码 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/jcykm/gods-pen-server.git
git@gitee.com:jcykm/gods-pen-server.git
jcykm
gods-pen-server
gods-pen-server
master

搜索帮助