-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathapp.yaml
More file actions
42 lines (35 loc) · 881 Bytes
/
app.yaml
File metadata and controls
42 lines (35 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
application: your-app-id
version: 1
runtime: python27
api_version: 1
threadsafe: true
# This is required for sending emails.
builtins:
- deferred: on
# If GAE Blog is a submodule then these must be enabled in your own app.yaml lke this:
libraries:
- name: webapp2
version: latest
- name: jinja2
version: latest
handlers:
- url: /blog/static
static_dir: static
- url: /blog/admin.*
script: blog.app
login: admin
- url: /blog.*
script: blog.app
# If GAE Blog is a submodule then you need to copy these handlers to your own app.yaml
# and modify their paths to include the directory where GAE Blog is located.
# Assuming it's in a directory called "gae_blog", they should look like this:
#
# - url: /blog/static
# static_dir: gae_blog/static
#
# - url: /blog/admin.*
# script: gae_blog/blog.app
# login: admin
#
# - url: /blog.*
# script: gae_blog/blog.app