服务器部署是官方推荐的方式,以下是详细步骤:
- Prepare the server
需选用有海外IP的云服务器(香港也可),推荐阿里云、腾讯云等优质服务商,确保IP干净以免触发Grok风控 - Basic Environment Installation
在Ubuntu系统上执行sudo apt-get install unzip -y
安装解压工具 - 安装Deno运行时
Run commandcurl -fsSL https://deno.land/install.sh | sh
安装Deno,安装后重启终端并验证版本 - Get Project Code
utilizationgit clone https://github.com/tech-shrimp/grok-playground
clone warehouse - Starting services
进入项目目录后执行启动脚本sh deno_start.sh
,默认使用80端口 - HTTPS配置
建议通过Cloudflare设置域名和HTTPS保护,或自行配置SSL证书
部署完成后访问服务器IP或绑定的域名即可使用,整个过程耗时极短。
This answer comes from the articleServerless rapid deployment Grok3 domestic mirror siteThe