Giter Site home page Giter Site logo

gods-pen-server's Introduction

码良服务端

License

🏠 官网

官网: 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

👉 `喜欢别忘了加star支持我们,你的支持是我们坚持的动力` 👈

项目构成

码良系统由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

gods-pen-server's People

Contributors

arnan-wei avatar jy03078959 avatar mingyuanwei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.