Code Monkey home page Code Monkey logo

leviding.github.io's Introduction

LeviDing's Blog

Build Status

本项目用于托管 LeviDing 的博客,博客源码托管在 source 分支,当 GitHub Action 监测到 source 分支的变化时,自动将博客部署到 master 分支

本地阅读和开发

基于 Hexo

// 安装
$ yarn

// 更新
$ yarn upgrade

// 清除缓存
$ hexo clean

// 构建静态文件
$ hexo g

// 爬取豆瓣读书信息并生成静态文件
$ hexo douban -b

// 爬取豆瓣影视信息并生成静态文件
$ hexo douban -m

// 本地运行预览
$ hexo s

// 一键运行和部署,因进行了 GITHUB_TOKEN 加密,故本地部署需输入 TOKEN
// 此命令执行 deploy.sh 脚本
$ yarn deploy

博客撰写和部署

// Clone 到本地
$ git clone [email protected]:leviding/leviding.github.io.git

// 进入文件夹
$ cd leviding.github.io

// 提交 GitHub
$ git add -A
$ git commit -m "xxxxxx"
$ git push original source

// 如果本地安装了 yarn,可通过一个命令直接提交
// 此命令行执行 gitpush.sh 脚本
$ yarn push

微信公众号

欢迎微信扫码关注我的公众号

技术号:技术漫谈 技术号:编程每日一题 个人号:丁学文

Contact Me

Mail: [email protected]


Blog: dingxuewen.com  ·  GitHub: @LeviDing  ·  Twitter: @LeviDing

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.