Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
|
|
More info: Writing
Run server
|
|
More info: Server
Generate static files
|
|
More info: Generating
Deploy to remote sites
|
|
npm 代理
|
|
npm 安装
安装完node.js后,在本地安装hexo1npm install hexo-cli -g
然后下载hexoblog的源码,最后执行12hexo s // 本地发表hexo g -d // 发布到相应网站
端口修改
hexo s 默认使用的是 4000 端口,有时候使用这个还是无法浏览本地网页,这个时候就是需要修改端口了。123λ hexo sINFO Start processingINFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.
修改端口123λ hexo s -p 3600INFO Start processingINFO Hexo is running at http://localhost:3600/. Press Ctrl+C to stop.
More info: Deployment