# Get The Best Solution For Your Business **Repository Path**: threetown/blogs ## Basic Information - **Project Name**: Get The Best Solution For Your Business - **Description**: Get The Best Solution For Your Business! - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 说明 > * 博客生成器:[hexo](https://hexo.io) > * 主题:[hexo-theme-hiero](https://github.com/iTimeTraveler/hexo-theme-hiero.git)风格,并维护在[themes-hiero](https://github.com/threetowns/blog/tree/themes-hiero)分支 > * 由于网络原因博客在[gitee](https://gitee.com/threetown/blogs.git)下,最终通过自定义域名[blog.threetowns.cn](http://blog.threetowns.cn)部署在[Github Pages](https://github.com/threetowns/blog.git)下 ## Install Hexo ```bash # Once all the requirements are installed, you can install Hexo with npm: $ npm install hexo-cli -g # or $ yarn global add hexo-cli ``` ## Usage ```bash # clone项目 $ git clone https://gitee.com/threetown/blogs.git # 进入目录 $ cd blogs # 下载子模块 $ git submodule update --init # 安装依赖 $ yarn # 启动本地服务 $ hexo s # 创作新博客 $ hexo new 'blog-title' # 部署 $ hexo d ``` ## submodules维护 * `.gitmodules`配置子模块路径(path)、地址(url)、分支(branch)信息。 ```bash [submodule "themes/hiero"] path = themes/hiero url = https://gitee.com/threetown/blogs.git branch = themes-hiero ```