在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:jade-press/jade-press开源软件地址:https://github.com/jade-press/jade-press开源编程语言:JavaScript 73.8%开源软件介绍:jade-presscms based on mongodb, nodejs, koa, vue and more features
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 themescheck the examples: basic theme: jadepress-theme-pi react spa theme(react, redux, history api) vue spa theme(vue1.x, vuex, vue-router) plugincheck the examples: https://github.com/jade-press/jadepress-plugin-qr https://github.com/jade-press/jadepress-redis https://github.com/jade-press/jadepress-static todovisit issues licenseMIT |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论