@@ -6,19 +6,21 @@ Authentication, Google App Engine, and Google Cloud Datastore.
6
6
7
7
This sample is used on the following documentation page:
8
8
9
- < https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-app-engine/ >
9
+ [ https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-appengine/ ] ( https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-appengine/ )
10
10
11
- You'll need to have [ Python 2.7] ( https://www.python.org/ ) , the
12
- [ App Engine SDK] ( https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python ) ,
13
- and the [ Google Cloud SDK] ( https://cloud.google.com/sdk/?hl=en )
11
+ You'll need to have [ Python 2.7] ( https://www.python.org/ ) and the [ Google Cloud SDK] ( https://cloud.google.com/sdk/?hl=en )
14
12
installed and initialized to an App Engine project before running the code in
15
13
this sample.
16
14
17
15
## Setup
18
16
19
17
1 . Clone this repo:
20
18
21
- git clone https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/firenotes
19
+ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
20
+
21
+ 1 . Navigate to the directory that contains the sample code:
22
+
23
+ cd python-docs-samples/appengine/standard/firebase/firenotes
22
24
23
25
1 . Within a virtualenv, install the dependencies to the backend service:
24
26
@@ -32,7 +34,7 @@ this sample.
32
34
application on the App Engine local development server.
33
35
34
36
1 . [ Add Firebase to your app.] ( https://firebase.google.com/docs/web/setup#add_firebase_to_your_app )
35
- 1 . Add your Firebase Project ID to the backend’s ` app.yaml ` file as an
37
+ 1 . Add your Firebase project ID to the backend’s ` app.yaml ` file as an
36
38
environment variable.
37
39
1 . Select which providers you want to enable. Delete the providers from
38
40
` main.js ` that you do no want to offer. Enable the providers you chose to keep
@@ -49,7 +51,7 @@ server with the following command:
49
51
50
52
dev_appserver.py frontend/app.yaml backend/app.yaml
51
53
52
- 1 . Visit < http://locahost:8080/ > in a web browser.
54
+ 1 . Visit [ http://locahost:8080/ ] ( http://locahost:8080/ ) in a web browser.
53
55
54
56
## Deploy
55
57
1 . Change the backend host URL in ` main.js ` to
0 commit comments