docs: clarify steps in Hosting on Firebase (#33089)

PR Close #33089
This commit is contained in:
David Sánchez 2019-10-10 23:30:48 +01:00 committed by Matias Niemelä
parent 403bb6bee3
commit 427a1ccd9a
1 changed files with 5 additions and 2 deletions

View File

@ -68,8 +68,11 @@ One of the easiest ways to get your site live is to host it using Firebase.
1. Create a new project, giving it any name you like.
1. Install the `firebase-tools` CLI that will handle your deployment using `npm install -g firebase-tools`.
1. Connect your CLI to your Firebase account and initialize the connection to your project using `firebase login` and `firebase init`.
1. Follow the prompts to select the `Firebase` project you creating for hosting.
1. Deploy your application with `firebase deploy` because StackBlitz has created a `firebase.json` that tells Firebase how to serve your app.
1. Follow the prompts to select the `Firebase` project you are creating for hosting.
- Select the `Hosting` option on the first prompt.
- Select the project you previously created on Firebase.
- Select `dist/my-project-name` as the public directory.
1. Deploy your application with `firebase deploy`, because the command `firebase init` has created a `firebase.json` file that tells Firebase how to serve your app.
1. Once deployed, visit https://your-firebase-project-name.firebaseapp.com to see it live!
### Hosting an Angular app anywhere else