Hello World 2019-09-13 环境与工具 Hexo 0 评论 字数统计: 151(字) 阅读时长: 1(分) 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 install Hexo 1npm install hexo -g upgrade Hexo 1npm update hexo -g init Blog 1hexo init Create a new post 12hexo new "My New Post" hexo n "My New Post" More info: Writing Run server 1hexo server More info: Server Generate static files 12hexo generatehexo g More info: Generating Deploy to remote sites 1$ hexo deploy More info: Deployment Clear cache 1hexo clean Local Testing 1234hexo server #Hexo会监视文件变动并自动更新,无须重启服务器hexo server -s #静态模式hexo server -p 5000 #更改端口hexo server -i 192.168.1.1 #自定义 IP