npm install
npm run serve
npm run build
npm run lint
npm install --no-save firebase-tools
npm --prefix functions install
レポジトリのルートディレクトリで作業してください。
npx firebase login
エラーレポートの送信について尋ねられますが、 Y/n どちらでもよいです。 回答すると、ブラウザが開いて認証を求められるので許可してください。
npx firebase use --add intern-2020-summer-YOUR-SUMMER-ID
intern-2020-summer-YOUR-SUMMER-ID
にはチームの Firebase プロジェクトの ID を指定してください。
ID の確認は以下の手順で行えます。
- Firebase コンソール でプロジェクトを開く
- 歯車アイコンをクリックし、「プロジェクトを設定」に進む
- 「全般」タブにプロジェクト ID が表示される
npx firebase deploy
注意: functions/public/
の下にファイルやフォルダを置いて deploy
コマンドを実行しないでください。必要なアクセス制御が実施されません。