• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jade-press/jade-press: cms based on mongodb, nodejs, koa, vue and more

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jade-press/jade-press

开源软件地址:

https://github.com/jade-press/jade-press

开源编程语言:

JavaScript 73.8%

开源软件介绍:

jade-press

Build Status

cms based on mongodb, nodejs, koa, vue and more

features

  • based on mongodb(database and session), nodejs 6+, koa, vue.js...
  • built in jade editor
  • file upload (to mongodb gridfs), insert, manage
  • custom routes
  • plugin system
  • theme system
  • user system
  • user groups and custom access control based on url
  • post and category
  • custom style & script & features file/image for every post
  • can be used as a module to extend
  • auto-database-update between different versions

baisc use

# make sure your mongodb running,
# visit https://www.mongodb.com/download-center?jmp=nav#community for more info

# make sure cairo installed,
# visit https://github.com/Automattic/node-canvas/wiki/_pages for system spec

# install nodejs & npm,
# visit https://github.com/creationix/nvm

git clone [email protected]:jade-press/jade-press.git
cd jade-press
npm install
cp config-sample.js config.js

# read and edit config.js to define all the settings 

# install plugins if have plugins
gulp install

# run it
node app

then visit (by default) http://127.0.0.1:7200

use jade-press as a module

//config.js

//.... other setting
    ,theme: {
        path: __dirname
        ,name: 'your-name'
        ,version: 'xx.xx.xx'
    }
//.... other setting
//app.js

/*!
 * main entrance
**/

'use strict'

let init = require('jade-press').init
,co = require('co')
,config = require('./config')

co(init(config))
.then(function(app) {
    let port = config.local.port
    app.listen(port, '127.0.0.1', function() {
        console.log('' + new Date(), config.local.siteName, 'runs on port', port)
    })
}, function(err) {
    console.error(err.stack || err)
})

example:

https://github.com/jade-press/blog.jade-press.org

themes

check the examples:

basic theme: jadepress-theme-pi

react spa theme(react, redux, history api)

vue spa theme(vue1.x, vuex, vue-router)

plugin

check the examples:

https://github.com/jade-press/jadepress-plugin-qr

https://github.com/jade-press/jadepress-redis

https://github.com/jade-press/jadepress-static

todo

visit issues

license

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
interledgerjs/rafiki: An ILP component framework based on Koa发布时间:2022-07-09
下一篇:
zmj0920/next-github: react next koa redis antd发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap