Skip to content

Latest commit

 

History

History
executable file
·
41 lines (34 loc) · 1.55 KB

README.md

File metadata and controls

executable file
·
41 lines (34 loc) · 1.55 KB

appengine-endpoints-backend-java

This application implements a simple backend for a Tic Tac Toe game using Google Cloud Endpoints, App Engine, and Java.

Products

Language

APIs

Setup Instructions

  1. Import the project into Eclipse.
  2. Make sure the App Engine SDK jars are added to the war/WEB-INF/lib directory, either by adding them by hand, or having Eclipse do it. (An easy) way to do this in Eclipse is to unset and reset whether or not the project uses Google App Engine.
  3. Update the value of application in appengine-web.xml to the app ID you have registered in the App Engine admin console and would like to use to host your instance of this sample.
  4. Update the values in src/com/google/devrel/samples/ttt/spi/Ids.java to reflect the respective client IDs you have registered in the APIs Console.
  5. Update the value of google.devrel.samples.ttt.CLIENT_ID in war/js/render.js to reflect the web client ID you have registered in the APIs Console.
  6. Run the application, and ensure it's running by visiting your local server's address (by default localhost:8888.)
  7. Deploy your application.