Use windows to deploy hexo+gitlab pages
This article was translated by the Chinese version using Google TranslateChinese version: 使用windows部署hexo+gitlab pages环境
Preparationinstall GitGo to Git official website to download windows and install it.
Install Node.jsGo to NodeJs official website to download the windows version and install it.
Register Gitlab accountGo to Gitlab official website to register.
deploy blogInstall HexoCreate a new blog folder, go to the folder, right click, and select git bash here.
Enter the command to install ...
使用windows部署hexo+gitlab pages环境
前期准备安装Git去 Git官网下载windows,进行安装即可。
安装Node.js去 NodeJs官网 下载windows版本,进行安装即可。
注册Gitlab账号去 Gitlab官网 进行注册即可。
搭建博客安装Hexo在本地新建一个blog文件夹,进入文件夹,右键,选择git bash here。
输入指令安装Hexo:
1npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive hexo-renderer-pug hexo-renderer-stylus
等到完成之后,输入指令初始化Hexo:
1hexo init hexo
进入到hexo目录,安装依赖:
12cd hexonpm install
输入hexo clean 测试hexo 是否正常使用:
1hexo clean
不出意外,会得到下面的内容:
1INFO Validating config
安装主题以下以 butter ...