Last active
October 23, 2019 13:16
-
-
Save potato4d/b2144b3226f388faf1a32ae619183ca2 to your computer and use it in GitHub Desktop.
Firebaseを用いて5分でセキュアなWebサイトを公開する ref: https://qiita.com/potato4d/items/95eaf2e41404711e621e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ firebase deploy && firebase open hosting:site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment