Hello World
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.
梦开始的地方🏃
Hexo常用编译
$ hexo new "My New Post"
More info: Writing
Run server
$ hexo server
启动本地服务器,用于预览主题,默认地址:http://localhost:4000/
More info: Server
Generate static files
$ hexo generate
生成网站静态文件到默认设置的public文件夹
More info: Generating
Deploy to remote sites
$ hexo deploy
部署网址到设定的仓库
More info: Deployment
Deploy to remote sites
$ hexo clean
清除缓存文件db.json和已生成的静态文件public
使用&&来连接命令
$ hexo cl && hexo g && hexo d
$ hexo cl ; hexo g ; hexo d
一次性完成清除、生成和部署的操作
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 人间萤火🌞!
评论