Giter Site home page Giter Site logo

chenwuwen / chenwuwen.github.io Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.49 MB

静态博客 本库的默认分支是hexo分支(源代码分支),master分支为站点文件

Home Page: https://chenwuwen.github.io

CSS 75.28% JavaScript 1.20% EJS 2.74% Stylus 20.78%

chenwuwen.github.io's Introduction

这个项目是github page的生成程序 你能看到这个README.md文件是因为本分支不是master分支 而是hexo分支,hexo分支也是源代码分支,master分支存放的是本分支生成的文件 即当使用 hexo deploy 时更新的是master分支

###目录用途


node_modules: 依赖包
public:存放生成的页面
scaffolds:生成文章的一些模板
source:用来存放你的文章
themes:主题
** _config.yml: 博客的配置文件**
.deploy_git: 存放使用hexo deploy时上传到github master的分支的文件

hexo主题

当添加新页面时,通过命令部署到github page

hexo clean
hexo generate
hexo deploy
hexo server -p 端口号

其中 hexo clean清除了你之前生成的东西,也可以不加。 hexo server 是启动本地预览,默认是4040端口,可以用hexo s缩写,在添加文章或者改动配置后,可以先在本地预览,满意后在部署 hexo generate 顾名思义,生成静态文章,可以用 hexo g缩写 hexo deploy 部署文章,可以用hexo d缩写,注意deploy时可能 要你输入github的username和password。

chenwuwen.github.io's People

Contributors

chenwuwen avatar chenwuweyun 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.