App Engine Getting Started with Java runtime
Switch branches/tags
Clone or download
Pull request Compare This branch is 3 commits ahead, 10 commits behind GoogleCloudPlatform:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.kokoro
src/main
.gitignore
.playground
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
pom.xml
service-account.json.enc
setup_tests.sh
travis.sh

README.md

Sample Web App to Demonstrate eBay Oauth

This sample shows you how to use eBay Oauth and deploy it in Google App Engine.

Before running the app

  1. Register a new Application in https://developer.ebay.com
  2. Update [DemoServlet]https://github.com/sengopal/appengine-try-java/blob/master/src/main/java/myapp/DemoServlet.java with the client_id and client_secret

Before you begin Google Cloud Deployment

  1. Download and install the Google Cloud SDK.

  2. Install and configure Apache Maven.

  3. Create a new Google Cloud Platform project, or use an existing one.

  4. Initialize the Cloud SDK.

    gcloud init
    
  5. Install the Cloud SDK app-engine-java component.

    gcloud components install app-engine-java
    

Deploying to App Engine

To run the application locally, use the Maven App Engine plugin.

mvn clean appengine:run

View the app at localhost:8080.

To deploy the app to App Engine, run

mvn clean appengine:deploy

After the deploy finishes, you can view your application at https://YOUR_PROJECT.appspot.com, where YOUR_PROJECT is your Google Cloud project ID. You can see the new version deployed on the App Engine section of the Google Cloud Console.