Skip to content

Instantly share code, notes, and snippets.

@potato4d
Last active October 23, 2019 13:16
Show Gist options
  • Save potato4d/b2144b3226f388faf1a32ae619183ca2 to your computer and use it in GitHub Desktop.
Save potato4d/b2144b3226f388faf1a32ae619183ca2 to your computer and use it in GitHub Desktop.
Firebaseを用いて5分でセキュアなWebサイトを公開する ref: https://qiita.com/potato4d/items/95eaf2e41404711e621e
$ firebase init
You're about to initialize a Firebase project in this directory:
/path/to/project-dir
? What Firebase CLI features do you want to setup for this folder? (Press <space> to select)
◯ Database: Deploy Firebase Realtime Database Rules
❯◉ Hosting: Configure and deploy Firebase Hosting sites
First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.
? What Firebase project do you want to associate as default?
[don't setup a default project]
Project-Hoge (project-hoge)
Project-fuga (project-fuga)
❯ Qiita-Firebase-Test (qiita-firebase-test)
[create a new project]
$ firebase deploy && firebase open hosting:site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment