Skip to content

zengdongbao/zeNSBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###这个项目叫zeNSBlog

一个个人的实验性项目,灵感来源于 farbox

###安装与配置 这个系统基于node.js驱动,使用markdown文件作为存储。无数据库,无依赖其他支撑服务。

  • 项目托管:github
  • 运行环境:node.js 0.8+
  • 当前版本:0.0.1

下载代码

git clone https://github.com/zengdongbao/zeNSBlog

安装依赖

npm install

基本配置

vim config.json
{
    "SITE":{
        "NAME" : "ZEN",						//站点名称
        "URL" : "http://127.0.0.1:3000",   //网站地址
        "STATIC" : "/static",			    //静态文件目录
        "POST" : "/post",                      
        "TAG" : "/tag",
        "PAGE" : "/page",
        "POSTS" : 3                        //列表一页显示文章数
    }
}

发布内容

.md格式的文件放到/public/data/目录下即可

启动服务

node app

About

A simple blog system, independent of third-party service,Using the markdown file rather than a database。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors