diff --git a/app.yaml b/app.yaml new file mode 100644 index 0000000..0e49586 --- /dev/null +++ b/app.yaml @@ -0,0 +1,12 @@ +application: mimeomorph +version: 1 +runtime: python +api_version: 1 + +handlers: +- url: /favicon\.ico + static_files: favicon.ico + upload: favicon\.ico + +- url: .* + script: main.py 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..8e6046d --- /dev/null +++ b/index.yaml @@ -0,0 +1,12 @@ +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. + diff --git a/main.py b/main.py new file mode 100644 index 0000000..0e8f5ba --- /dev/null +++ b/main.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python +# +# Copyright 2007 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +from google.appengine.ext import webapp +from google.appengine.ext.webapp import util + + +class MainHandler(webapp.RequestHandler): + def get(self): + self.response.out.write('Hello world!') + + +def main(): + application = webapp.WSGIApplication([('/', MainHandler)], + debug=True) + util.run_wsgi_app(application) + + +if __name__ == '__main__': + main()