Giter Site home page Giter Site logo

node-blog-demo's Introduction

简介

Node实现的博客系统,相关的实现细节和Node开发教程欢迎访问完全免费的配套Node教程

安装 mongoDB、redis

获取代码

解决依赖

该项目使用npm管理依赖。在项目根路径,直接运行npm:

npm install

项目配置

创建配置文件config.js,我们提供了示例配置config.js.example,可以基于该示例创建自己的配置:

cp config.js.example config.js
vim config.js

启动服务

# 运行依赖服务:数据库、Redis
grunt server

构建并运行开发板

grunt

构建并运行生产版

# 构建
grunt dist

# 运行
npm start

访问 http://localhost:3000

node-blog-demo's People

Contributors

harttle avatar luoruici avatar pkuyewei avatar iqhash avatar

Watchers

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.