Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leviding/leviding.github.io
My Blog.
https://github.com/leviding/leviding.github.io
blog hexo levi leviding site
Last synced: about 1 month ago
JSON representation
My Blog.
- Host: GitHub
- URL: https://github.com/leviding/leviding.github.io
- Owner: leviding
- Created: 2017-04-06T09:48:22.000Z (over 7 years ago)
- Default Branch: source
- Last Pushed: 2023-02-08T09:53:30.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T19:58:48.577Z (8 months ago)
- Topics: blog, hexo, levi, leviding, site
- Language: JavaScript
- Homepage: https://dingxuewen.com
- Size: 1.9 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# LeviDing's Blog
[![Build Status](https://travis-ci.org/leviding/leviding.github.io.svg?branch=source)](https://travis-ci.org/leviding/leviding.github.io)
本项目用于托管 [LeviDing 的博客](https://dingxuewen.com/),博客源码托管在 [source 分支](https://github.com/leviding/leviding.github.io/tree/source),当 [GitHub Action](https://github.com/leviding/leviding.github.io/actions/workflows/hexo-deploy.yml) 监测到 [source 分支](https://github.com/leviding/leviding.github.io/tree/source)的变化时,自动将博客部署到 [master 分支](https://github.com/leviding/leviding.github.io/tree/master)。
## 本地阅读和开发
基于 Hexo
```bash
// 安装
$ 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]](mailto:[email protected])
---
> Blog: [dingxuewen.com](https://dingxuewen.com/) ·
> GitHub: [@LeviDing](https://github.com/leviding) ·
> Twitter: [@LeviDing](https://twitter.com/xuewending)