-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add docs how create firebase project and fix mirror server dock…
…er error (#213) * feat: add docs how create firebase project and fix mirror server docker error * Update mirror-docs/docs/open-source-code/firebase.mdx --------- Co-authored-by: Gordon MacPherson <[email protected]>
- Loading branch information
1 parent
2a6553b
commit ca74100
Showing
15 changed files
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 2 | ||
sidebar_position: 3 | ||
--- | ||
|
||
# Architecture | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Creating a Firebase Project | ||
|
||
## Prerequisites | ||
|
||
Before you start, make sure you have: | ||
|
||
- A Google account | ||
|
||
## Step 1: Go to Firebase Console | ||
|
||
1. Open your web browser and go to the [Firebase Console](https://console.firebase.google.com/). | ||
2. Sign in with your Google account if you are not already signed in. | ||
|
||
## Step 2: Create a New Project | ||
|
||
1. In the Firebase Console, click on the **Create a project** or **Add project** button. | ||
|
||
![Create a Project](create-project.png) | ||
|
||
2. Enter a project name. The project name should be descriptive and unique. | ||
![Enter a project name](enter-name.png) | ||
|
||
3. (Optional) You can also set up Google Analytics for your project. If you want to enable Google Analytics, select the **Enable Google Analytics for this project** checkbox. If not, uncheck the box. | ||
|
||
4. Click **Continue**. | ||
|
||
5. If you chose to enable Google Analytics, you will be prompted to select or create an Analytics account. Follow the on-screen instructions to set up your Analytics settings. Click **Create project**. | ||
|
||
6. Firebase will set up your new project. This might take a few moments. Once the setup is complete, click **Continue** to proceed to your project dashboard. | ||
![Firebase project is ready](project-ready.png) | ||
|
||
## Step 3: Create Firebase App | ||
|
||
1. In the project overview page, click the **Web** icon to create a new web app. | ||
|
||
![Choose app](choose-app.png) | ||
|
||
2. Register your app by entering a nickname for your web app and optionally set up Firebase Hosting. | ||
![Enter app name](enter-app-name.png) | ||
|
||
3. Click **Register app**. | ||
|
||
4. Firebase will generate a Firebase SDK snippet for you. To continue, click "Continue to console" | ||
![Continue to console](continue-to-console.png) | ||
|
||
## Step 3: Generate service account JSON | ||
|
||
To interact with Firebase services programmatically, you need to generate a service account key file. Follow these steps to create the JSON file: | ||
|
||
1. In the Firebase Console, click on the **gear icon** next to **Project Overview** and select **Project settings**. | ||
|
||
![Project Settings](open-settings.png) | ||
|
||
2. Go to the **Service accounts** tab. | ||
|
||
3. Click the **Generate new private key** button. | ||
|
||
![Generate Key](service-accounts.png) | ||
|
||
4. A dialog will appear. Click **Generate key** to confirm. | ||
|
||
![Generate Key](generate-key.png) | ||
|
||
5. Your browser will download a JSON file containing your service account key. Save this file securely as it contains sensitive information. | ||
|
||
![Download Key](downloaded-keys-file.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
This file contains 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