Git Product home page Git Product logo

hexo_post's Introduction

折腾手记

使用hexo生成静态博客,托管在github

使用环境

安装好nodejs和cnpm,可以参考这篇文章

git clone [email protected]:lyallchan/hexo_post.git blog
cd blog
npm install 

增加文章和发布

直接在source/_post下新建md文件,然后hexo generate和deploy

cd blog
hexo d -g

如果需要从头安装

mkdir blog
cd blog
npx hexo init
npm install hexo-deployer-git --save
npm install [email protected] --save
npm install hexo-simple-image --save
git init
cp _config.yml _config.next.yml .gitignore 拷贝配置文件
git add . 
git commit -m "Update"
git remote  add origin [email protected]:lyallchan/hexo_post.git
git push --set-upstream origin master

hexo_post's People

Watchers

 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.