To set up your environment:
You must use Java 7. If you don't have Java 7, download and install it.
JAVA_HOMEenvironment variable to the path of your JDK installation. If you are a
bashuser, the following considerations apply:
For a typical Linux installation, add a line similar to the following to your
If you use Mac OS X and the default Terminal app, your shell session doesn't load
.bashrcby default. So you may need to add a line similar to the following to your
[ -r ~/.bashrc ] && source ~/.bashrc
If you use Mac OS X but don't use the default terminal app, for example, you use a terminal management app such as tmux, you may need to add a line similar to the following line to your
If you don't have Maven installed, download and install Maven.
Creating an App Engine backend for deployment
You'll need to create a new Google Cloud Platform Console project for your backend, and you'll need to create client IDs for client.
Creating a new project
- In the Cloud Platform Console, go to the Projects page.
- Select a project, or click Create Project to create a new Cloud Platform Console project.
- In the dialog, name your project. Make a note of your generated project ID.
- Click Create to create a new project.
Creating OAuth 2.0 client IDs for the backend
- Open the Credentials page for your project, and select Web application as the application type.
Fill out the form that is displayed:
- Specify a name for the web client.
Note the client ID that is generated. This is the client ID you need to use in your backend and in your client application. You can always return to the Credentials page to view the client ID.