PyCharm 2017.2 Help

Creating Google App Engine Project

This feature is supported in the Professional edition only.

A Google App Engine project is intended for productive development of web applications in the Google infrastructure. PyCharm takes care of creating the specific directory structure and settings.

To create a Google App Engine project, follow these steps

  1. On the main menu, choose File | New Project, or click New Project on the Welcome screen.
  2. In the Create New Project dialog box, specify the following:
    1. Choose the project type Google App Engine.
    2. Enter the project name and location.
    3. Choose the Python interpreter to be used for the project. If the desired interpreter is not found in the list, click the browse button to review the available interpreters and virtual environments, and configure the new ones.
  3. Click More Settings to enter the settings of your new App Engine project. In this part of the New Project dialog, specify the following:
    • In the Application ID field, enter the identifier that you have already defined on the Create application page of the Google App Engine. The project identifier should meet certain requirements: only lower-case letters, digits, and "-" characters are allowed; the application id should not begin with "-".
    • App Engine SDK directory - the location of the App Engine SDK on your machine. If this SDK is missing from the path variable, type it manually. If the SDK directory is added to the path variable during installation, it is detected automatically.
    • In the Templates Directory field, specify the directory where the templates will be stored, and where they will be loaded from. You can specify the name of the directory that doesn't yet exist; in this case, the directory will be created.
    • If you want to make Django available for your application, select the check box Enable Django support. With this option enabled, enter the Django project name and application name. Refer to the section Creating Django Project for details.
  4. Click Create. PyCharm creates an application and produces specific file structure, which you can explore in the Project tool window.

Note that PyCharm always uses the Python 2.7 runtime when creating a new project.

See Also

Last modified: 9 August 2017