Giter Club home page Giter Club logo

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

jade-press's Projects

jade-press icon jade-press

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

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.