zoukankan      html  css  js  c++  java
  • github hexo常用命令

    *


    ===安装hexo
    $ cd d:/hexo
    $ npm install hexo-cli -g
    $ hexo init blog
    $ cd blog
    $ npm install
    $ hexo g # 或者hexo generate
    $ hexo s # 或者hexo server,可以在http://localhost:4000/ 查看

    ===常用
    $ hexo n == hexo new
    $ hexo g == hexo generate
    $ hexo s == hexo server
    $ hexo d == hexo deploy

    ===换主题
    $ hexo clean
    $ git clone https://github.com/litten/hexo-theme-yilia.git themes/yilia
    $ cd themes/yilia
    $ git pull
    $ hexo g # 生成
    $ hexo s # 启动本地web服务器


    netstat -ano|findstr "4000"
    tasklist|findstr "2828"

    部署到git上去
    hexo clean
    hexo g
    hexo d

    *************
    之前发布失败,是_config.yml中写错了repo
    deploy:
    type: git
    repo: https://github.com/BigJoyce/BigJoyce.github.io.git
    branch: master

    访问路径
    https://bigjoyce.github.io/

    *

    有问题在公众号【清汤袭人】找我,时常冒出各种傻问题,然一通百通,其乐无穷,一起探讨


  • 相关阅读:
    UITextField的简单操作和实际应用
    iOS
    单例传值
    改良UIScrollView滚动视图
    省市便利 UIPicherView
    滚动视图UIScrollView
    label自适应
    将图像设置成圆形
    笔记
    笔记
  • 原文地址:https://www.cnblogs.com/qingmaple/p/6612686.html
Copyright © 2011-2022 走看看