From e07fe201d5dc98831cd7357e85bd9ce2d9823b66 Mon Sep 17 00:00:00 2001 From: GrzegorzMolicki Date: Fri, 1 Nov 2019 16:13:29 +0100 Subject: [PATCH 1/2] Force Python 2 environment --- appengine/app.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/appengine/app.yaml b/appengine/app.yaml index 216d191..1753168 100644 --- a/appengine/app.yaml +++ b/appengine/app.yaml @@ -1,7 +1,11 @@ -runtime: python27 +runtime: python api_version: 1 +env: flex threadsafe: true +runtime_config: + python_version: 2 + handlers: - url: /assets static_dir: assets From f5abb29bb3fe028d9262f5b0e64e956e7928fc64 Mon Sep 17 00:00:00 2001 From: GrzegorzMolicki Date: Fri, 1 Nov 2019 16:24:36 +0100 Subject: [PATCH 2/2] Include permissions check in readme --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index a8d1924..6a92f95 100644 --- a/readme.md +++ b/readme.md @@ -53,7 +53,7 @@ GitHub. 1. Go to https://console.cloud.google.com/projectselector/iam-admin/serviceaccounts and create a Service Account in your project. 2. Download the json file. 3. Upload replacing the file in the `credentials` directory. - +4. Make sure the Service Account is allowed to access Google Search Console resources (https://search.google.com/u/1/search-console/users?resource_id={your_website}), use 'Add User' button and email address provided by Google under Service Accounts section ### 4. Deploy to App Engine