diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 19:35:16 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-07 19:35:16 +0000 |
commit | 9d976457c1bedf6bdadd6220417276abadbc02de (patch) | |
tree | 5c635a18452de6803b1ac04fc7cefb21f59f3ab0 /tools/sheriffing | |
parent | a0b3fb8891adc6ffba760a91acae0c98b23c92a0 (diff) | |
download | chromium_src-9d976457c1bedf6bdadd6220417276abadbc02de.zip chromium_src-9d976457c1bedf6bdadd6220417276abadbc02de.tar.gz chromium_src-9d976457c1bedf6bdadd6220417276abadbc02de.tar.bz2 |
Add appengine config for static hosting
Add app.yaml for pushing to chromium-sheriffing.appspot.com. No
server side functionality, just so that it's easier to link to.
Update with:
D:\src\cr2\src\tools\sheriffing>python ...\appcfg.py update .
NOTRY=true
TBR=dfalcantara@chromium.org
Review URL: https://codereview.chromium.org/225183017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/sheriffing')
-rw-r--r-- | tools/sheriffing/README.chromium | 11 | ||||
-rw-r--r-- | tools/sheriffing/app.yaml | 17 |
2 files changed, 23 insertions, 5 deletions
diff --git a/tools/sheriffing/README.chromium b/tools/sheriffing/README.chromium index 4c5095a..37c0ddf 100644 --- a/tools/sheriffing/README.chromium +++ b/tools/sheriffing/README.chromium @@ -1,5 +1,6 @@ -Web interface helpful for sheriffing.
-
-Run with "python -m SimpleHTTPServer" and browse to localhost:8000.
-
-Favicon from http://www.famfamfam.com/lab/icons/mini/.
+Web interface helpful for sheriffing. + +Run with "python -m SimpleHTTPServer" and browse to localhost:8000. It's also +pushed to chromium-sheriffing.appspot.com on occasion. + +Favicon from http://www.famfamfam.com/lab/icons/mini/. diff --git a/tools/sheriffing/app.yaml b/tools/sheriffing/app.yaml new file mode 100644 index 0000000..886bd11 --- /dev/null +++ b/tools/sheriffing/app.yaml @@ -0,0 +1,17 @@ +application: chromium-sheriffing
+version: 1
+runtime: python27
+api_version: 1
+threadsafe: true
+
+# Silly way of using appspot for static hosting. (It has a "free" tier vs.
+# Cloud Storage which requires billing info for the << $1 it will cost to
+# host this.)
+handlers:
+- url: /
+ static_files: index.html
+ upload: index.html
+
+- url: /(.*)
+ static_files: \1
+ upload: (.*)
|