A Google App Engine project in intended for productive development of web applications in the Google infrastructure. PyCharm takes care of creating the specific directory structure, and settings.
- On the main menu, choose New Project on the Welcome screen. , or click
In the Create New Project dialog box, specify the following:
- Project name and location.
- 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.
- Project type Google App Engine project.
- In the App Engine Project dialog box that opens, specify the following:
- In the Application ID, enter the identifier that you have already defined in the Create application page of the Google App Engine. The application identifier should meet certain requirements: only lower-case letters, digits, and "-" characters are allowed; the application id should not begin with "-".
- The location of the App Engine SDK on your machine. Type the path manually in the App Engine SDK directory field. 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.
- Click OK. PyCharm creates an application and produces specific file structure, which you can explore in the Project tool window.