LoginSignup
0
0

More than 3 years have passed since last update.

【Firebase】Firebaseでデプロイ(公開)する方法

Last updated at Posted at 2020-10-24

まずはnpmでFirebase関連のモジュールをインストール

firebase-tools はglobalオプションでインストールされることが多い

npm i firebase-tools -g

npm i firebase --save

コマンドライン上でfirebaseにログインする

既にログインをしている場合、このコマンドは不要

firebase login

設定する。コマンドライン上で色々と選択が必要

機能の選択例。スペースキーで選択しEnter, Returnキーを押す

・hosting, functions, firestore

firebase init

実際にデプロイ、公開する

ここでエラーが出る場合、google platformで請求先住所を登録しておく必要がある様子(2020/10/24時点)

firebase deploy
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0