如何通过服务器源码构建网站
准备
你需要NodeJS(>15)和git
教程
首先,将源代码下载到自己的服务器
1 | git clone https://github.com/HRMTR/hrmtrbeta.git |
然后进入hrmtrbeta
文件夹,运行
1 | npm install |
最后运行
1 | hexo server |
即可启动网站,打开localhost:4000
来打开网站。
- 标题: 如何通过服务器源码构建网站
- 作者: LeonMMcoset
- 创建于 : 2025-02-12 16:17:36
- 更新于 : 2025-03-02 13:22:11
- 链接: https://hrmtr.top/2025/02/12/buildweb/
- 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论