0.17.1 • Published 8 years ago

jade-press v0.17.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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 git@github.com: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.17.1

8 years ago

0.17.0

8 years ago

0.16.1

8 years ago

0.16.0

8 years ago

0.15.0

8 years ago

0.14.13

8 years ago

0.14.12

8 years ago

0.14.11

8 years ago

0.14.10

8 years ago

0.14.9

8 years ago

0.14.8

8 years ago

0.14.7

8 years ago

0.14.5

8 years ago

0.14.4

8 years ago

0.14.3

8 years ago

0.14.2

8 years ago

0.14.0

8 years ago

0.13.0

8 years ago

0.12.0

8 years ago

0.11.0

8 years ago

0.10.1

8 years ago

0.10.0

8 years ago

0.9.8

8 years ago

0.9.9

8 years ago

0.9.6

8 years ago

0.9.5

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.7

8 years ago

0.7.6

8 years ago

0.7.5

8 years ago

0.7.4

8 years ago

0.7.3

8 years ago

0.7.2

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago