Firebase 由谷歌云托管式基础设施提供支持,可创建各种各样的应用,免费的CDN和证书服务,为用户提供最佳体验!
以下是视频中用到的资料:
访问项目地址:https://console.firebase.google.com/?...
1 、安装Firebase 命令行工具
curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
apt install -y nodejs
npm install -g firebase-tools
2、执行命令获得授权网址
firebase login --no-localhost
3、访问网址得到授权码,然后把授权码粘贴到终端
4. 初始化项目,到github 后选 no,项目初始化完成后会在当前目录下 多出一个 public 目录
firebase init hosting
5. 部署项目,访问生成的链接
firebase deploy
科技自习室官方交流群:https://t.me/kjzxschat
コメント