GithubHelp home page GithubHelp logo

zengdongbao / zensblog Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.7 MB

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

JavaScript 20.40% CSS 69.35% HTML 10.25%

zensblog's Introduction

###这个项目叫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

zensblog's People

Contributors

zengdongbao avatar

Watchers

 avatar James Cloos avatar

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.