App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. This document describes how to create an application for the App Engine standard environment.
Before you begin
Follow the Quickstart to install and setup Cloud Code.
Creating a new application
You can create a new application by using the new project wizard or by importing an existing project in Cloud Source Repositories.
Using the new project wizard
To create a new project, you can use the IntelliJ New Project wizard to generate a template application as the start for your own application.
Create a new project as follows:
Choose File > New > Project to display the New Project dialog.
Choose Java in the left panel.
In the Additional Libraries and Frameworks section, check the Google App Engine box for your environment.
Select the additional libraries you want to add to the classpath of your application. The Servlet API is selected by default.
Enter a Project name.
Enter a Project location if you do not want to keep the default.
Update the fields in the More Settings section if you do not want to keep the defaults.
Checking out an existing project
You can check out your existing project in Cloud Source Repositories:
Choose VCS > Checkout from Version Control > Google Cloud.
- In the Clone from Google Cloud dialog, select the Cloud Project associated with your project.
- Select your Cloud Repository.
- Select the Parent Directory.
- Enter the Directory Name.
- Click Clone.
Adding framework support
If you never added framework support to your application, IntelliJ IDEA prompts you to configure the framework after detecting that you opened an App Engine application.
Right click the project.
Choose Add Framework Support.
Select the App Engine standard checkbox.
Alternatively, you can add App Engine framework support through the Cloud Code menu:
Select Tools > Cloud Code > Add App Engine support > Google App Engine standard.
Select the module you want to add framework support to.
Select the libraries you want to add to your project.
Once you've created an application, you can run and debug it on your workstation.
You can also deploy your application to the App Engine standard environment.
Getting SupportTo send feedback, report issues on GitHub, or ask a question on Stack Overflow.