Giter Site home page Giter Site logo

blog-nap's Introduction

blog-nap 使用说明

环境准备

blog-nap 网站hexo 生成,请使用npm install hexo-cli -g命令安装hexo环境(npm的安装可使用brew,brew的安装请自行解决)

从github获取既有代码

git clone https://github.com/artemisprojects/blog-nap.git

安装hexo工程依赖包

cd blog-nap

npm installtar axf node_modules.tar.gz

添加、修改内容

使用hexo new "article title" 创建新文章或编辑source\_posts\目录下已有md文件修改既有文章内容

发布内容

使用hexo generate 命令重新生成网页内容,并使用hexo deploy命令发布生产的内容到网站。

提交更新内容

按git流程提交对blog-nap的hexo内容所做修改(git add . -> git commit -a -> git push origin master)。 然后执行hexo d -g,hexo由markdown文件生成静态html页,并将其push到gh-pages分支上去。

在此之前,当然你需要授权,请联系 [email protected]

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.