From f9f756467e771e4520fe7fa20aa92b3ef9936569 Mon Sep 17 00:00:00 2001 From: Joshua Gourneau Date: Thu, 15 Mar 2012 00:48:11 -0700 Subject: gae --- app.py | 3 ++- app.yaml | 12 ++++++++++++ favicon.ico | Bin 0 -> 1150 bytes index.yaml | 11 +++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 app.yaml create mode 100644 favicon.ico create mode 100644 index.yaml diff --git a/app.py b/app.py index 4248243..5c3d122 100644 --- a/app.py +++ b/app.py @@ -41,4 +41,5 @@ def sig(): r = requests.put(url, auth=CLOUDANT_AUTH, data=json.dumps(data), headers=headers) redirect('/s/%s' % json.loads(r.content)['id']) -run(host='localhost', port=8000) +#run(host='localhost', port=8000) +run(server='gae') diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..ed81e27 --- /dev/null +++ b/app.yaml @@ -0,0 +1,12 @@ +application: pinkyswearapp +version: 1 +runtime: python27 +api_version: 1 +threadsafe: false + +handlers: +- url: /js + static_dir: static + +- url: /.* + script: app.py \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..0062ab4 Binary files /dev/null and b/favicon.ico differ diff --git a/index.yaml b/index.yaml new file mode 100644 index 0000000..a3b9e05 --- /dev/null +++ b/index.yaml @@ -0,0 +1,11 @@ +indexes: + +# AUTOGENERATED + +# This index.yaml is automatically updated whenever the dev_appserver +# detects that a new type of query is run. If you want to manage the +# index.yaml file manually, remove the above marker line (the line +# saying "# AUTOGENERATED"). If you want to manage some indexes +# manually, move them above the marker line. The index.yaml file is +# automatically uploaded to the admin console when you next deploy +# your application using appcfg.py. -- cgit v1.3.1