Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Required Setup

The instructions provided here assume that you have gone through the Getting Started flow in the Google Cloud console .

These requirements apply to the default sample, which uses App Engine Datastore. If you are changing this to use Google Cloud SQL instead, see also the additional setup and requirements described in Setting Up for Google Cloud SQL below.

Requirements

Before you can build and run the sample, you need to do the following:

  1. If you have not yet downloaded the Photofeed sample, download it now.
  2. Set up a Google Cloud Storage bucket to store photos, making sure to grant bucket access permissions for the App Engine application.

    Note: There may be a small monthly fee required for using Google Cloud Storage even for test purposes.

  3. Download and install the App Engine SDK . (Optionally, if you use Eclipse, you need to install the Google Plugin for Eclipse as well.)
  4. If you don't have Apache Ant , download and install it. You need it to build the sample, even if you intend to use Eclipse.

    If you are unfamiliar with Ant, you can find information about using it with App Engine in the App Engine Java documentation .

Setting Up for Google Cloud SQL

If you use Google Cloud SQL for photo storage, you need to create a Google Cloud SQL instance and then create a database for that instance. Finally, use the script provided in war/WEB-INF/photo_sharing_demo_db.sql to create the required tables in the database. (Allow App Engine application access to the database instance.)

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.