Deploy Hexo with NexT Theme
Requirements: Git and Node.js. ...
Requirements: Git and Node.js. ...
那么简记一下配置过程吧。 不论如何,请首先参阅 官方文档。 我的配置思路是: Run Nginx on the server and set the web root to a directory such as /var/www/blog/. Install Hugo locally. Install rsync on both the local machine and the server. Hugo 生成静态文件后,通过 rsync 将本地 public/ 目录中的文件同步到服务器的 /var/www/blog/,即可完成网站部署。使用 SSH 的 rsync 命令如下: ...