Creating Google App Engine Project
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
- On the main menu, choose , or click New Project on the Welcome screen.
- In the Create New Project dialog box, specify the following:
- Choose the project type Google App Engine.
- Enter the project name and location.
- 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.
- 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
pathvariable, type it manually. If the SDK directory is added to the
pathvariable 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.
- 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.