Skip to content

Updated links to tutorial and git repo #516

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions appengine/standard/firebase/firenotes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,21 @@ Authentication, Google App Engine, and Google Cloud Datastore.

This sample is used on the following documentation page:

<https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-app-engine/>
[https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-appengine/](https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-appengine/)

You'll need to have [Python 2.7](https://www.python.org/), the
[App Engine SDK](https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python),
and the [Google Cloud SDK](https://cloud.google.com/sdk/?hl=en)
You'll need to have [Python 2.7](https://www.python.org/) and the [Google Cloud SDK](https://cloud.google.com/sdk/?hl=en)
installed and initialized to an App Engine project before running the code in
this sample.

## Setup

1. Clone this repo:

git clone https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/firenotes
git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git

1. Navigate to the directory that contains the sample code:

cd python-docs-samples/appengine/standard/firebase/firenotes

1. Within a virtualenv, install the dependencies to the backend service:

Expand All @@ -32,7 +34,7 @@ this sample.
application on the App Engine local development server.

1. [Add Firebase to your app.](https://firebase.google.com/docs/web/setup#add_firebase_to_your_app)
1. Add your Firebase Project ID to the backend’s `app.yaml` file as an
1. Add your Firebase project ID to the backend’s `app.yaml` file as an
environment variable.
1. Select which providers you want to enable. Delete the providers from
`main.js` that you do no want to offer. Enable the providers you chose to keep
Expand All @@ -49,7 +51,7 @@ server with the following command:

dev_appserver.py frontend/app.yaml backend/app.yaml

1. Visit <http://locahost:8080/> in a web browser.
1. Visit [http://locahost:8080/](http://locahost:8080/) in a web browser.

## Deploy
1. Change the backend host URL in `main.js` to
Expand Down
4 changes: 2 additions & 2 deletions appengine/standard/firebase/firenotes/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script src="https://www.gstatic.com/firebasejs/3.2.1/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/live/0.4/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/live/0.4/firebase-ui-auth.css">
<script src="https://www.gstatic.com/firebasejs/ui/live/0.5/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/live/0.5/firebase-ui-auth.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="/main.js"></script>
<title>Firenotes</title>
Expand Down