Coder Social home page Coder Social logo

runningv.github.io's Introduction

myblog维护方式:

可实现在不同电脑上写文章维护的功能,原理是在github上创建代码托管仓库,使用hexo搭建的博客系统本地文件通过hexo g -d 直接发布到代码仓库的master,再创建分支hexo,将本地的hexo创建的文件git push到hexo分支中。master分支托管编译后的静态文件,可在线上访问。hexo分支中是开发文件,在其中修改文章样式等。

后期维护:

  1. 在电脑上git clone 本项目
  2. npm install
  3. 查看分支一定要在hexo分支,修改文件样式。
  4. hexo g -d 发布到远程master,就可线上访问了
  5. git add && git commit hexo 分支到远程分支:git push origin hexo
  6. 每次在不同的电脑要先更新本地文件在修改:git pull origin hexo

runningv.github.io's People

Contributors

runningv avatar

Watchers

James Cloos avatar  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.