Giter Club home page Giter Club logo

cms-net's Introduction

cms-net

有调CMS渲染器系统

Build Setup

# 安装依赖
npm install

# 创建日志目录
mkdir logs

# 启动server 相当于执行:pm2 start cms-net.js 先使用fork模式,若使用集群模式的话( -i max)和log4js有冲突
# https://github.com/nomiddlename/log4js-node/issues/265
npm start

# 跑单元测试
npm test

目录结构

config -- 存放项目所有的配置文件

shell -- sql脚本、shell脚本

logs -- 生产环境下的log

src -- 源码

src/db -- 数据库访问工具类。供业务逻辑相关类进行调用

src/parser -- markdown解析器

src/crawler -- 老CMS数据倒入新库的程序

src/render -- 所有渲染器

src/api -- 所有接口

src/service -- 业务逻辑

utils -- 工具类/方法存放处

router.js -- 路由配置

moddleware.js -- 中间件

cms-net.js -- 项目启动文件

cms-net's People

Contributors

pod4g 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.