Hello Hexo!
hexo 使用…
Quick Start
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
1 | $ cnpm install hexo -g |
Run server
1 | $ hexo server //在本地服务器上测试,端口4000 |
More info: Server
Generate static files
1 | $ hexo generate //刷新hexo的资源 |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy //同步到github |
More info: Deployment
主题配置
1 | $ git clone https://github.com/iissnan/hexo-theme-next themes/next |
More info: Themes
写文章
1 | $ hexo new '文章名' //在source/_posts路径下创建的文章 |
More info: Writing