We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
创建github pages: 创建一个仓库,lilwei.github.io
安装Hexo: 前提安装git,安装node.js, 使用Git Bash命令行 : npm install -g hexo-cli
建站: hexo init hexo(自定义文件名) cd hexo npm install
关联hexo和github pages,编辑_config.yml文件(注意格式): deploy: type: git repo: https://github.com/lilwei/lilwei.github.io.git branch: master
本地测试: hexo s
访问:localhost:4000
发布到github(清除,生成,发布): hexo clean hexo g npm install hexo-deployer-git --save hexo d
远程访问:https://lilwei.github.io/
写文章时,可视化,安装hey插件: npm install hexo-hey --save
修改_config.yml配置文件(注意格式):
admin: name: hexo password: hey secret: hey hexo expire: 60*1 # cors: http://localhost:3000
The text was updated successfully, but these errors were encountered:
No branches or pull requests
创建github pages: 创建一个仓库,lilwei.github.io
安装Hexo: 前提安装git,安装node.js, 使用Git Bash命令行 : npm install -g hexo-cli
建站:
hexo init hexo(自定义文件名)
cd hexo
npm install
关联hexo和github pages,编辑_config.yml文件(注意格式):
deploy:
type: git
repo: https://github.com/lilwei/lilwei.github.io.git
branch: master
本地测试: hexo s
访问:localhost:4000
发布到github(清除,生成,发布):
hexo clean
hexo g
npm install hexo-deployer-git --save
hexo d
远程访问:https://lilwei.github.io/
写文章时,可视化,安装hey插件: npm install hexo-hey --save
修改_config.yml配置文件(注意格式):
Admin
admin:
name: hexo
password: hey
secret: hey hexo
expire: 60*1
# cors: http://localhost:3000
The text was updated successfully, but these errors were encountered: