RotCool's recent timeline updates
RotCool

RotCool

V2EX member #586651, joined on 2022-07-03 08:49:42 +08:00
RotCool's recent replies
Sep 7, 2022
Replied to a topic by airbotgo 程序员 如何比较简单地展示一个静态网页?
1. 可以使用 Vercel 、Netlify 这样的平台,直接用 GitHub 登录并且授权配置一下就可以直接给打包部署
2. 如果是自己的 vps 想简单点可以用宝塔面板;或者 docker 啥的部署一下 nginx 或者 apache ,当然也可以自己单独下载配置 nginx 或者 apache
3. GitHub Pages + GitHub Actions ,已经有现成的部署 Actions 可以用了: https://github.com/peaceiris/actions-gh-pages
4. 直接用 https://github.com/svenstaro/miniserve 这样的 CLI Tools ,一行指令然后后台执行就行

建议还是第一个方案或者宝塔面板方便,比较适合无脑操作

当然最好自己加个 CDN ,直接暴露 vps 的 IP 可能不是很好,Cloudflare 就有
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2687 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 15:51 · PVG 23:51 · LAX 08:51 · JFK 11:51
♥ Do have faith in what you're doing.