2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
9 # Add the original server location to sys.path so we are able to import
11 SERVER_PATH = 'chrome/common/extensions/docs/server2'
12 if os.path.abspath(SERVER_PATH) not in sys.path:
13 sys.path.append(os.path.abspath(SERVER_PATH))
15 from google.appengine.ext import webapp
16 from google.appengine.ext.webapp.util import run_wsgi_app
18 from app_engine_handler import AppEngineHandler
21 run_wsgi_app(webapp.WSGIApplication([('/.*', AppEngineHandler)], debug=False))
23 if __name__ == '__main__':