code: def local(reload, port):
      
      import logging
      from bottle import run
      from app import controller, app
      from c7n.resources import load_resources
      load_resources()
      print("Loaded resources definitions")
      logging.basicConfig(level=logging.DEBUG)
      logging.getLogger('botocore').setLevel(logging.WARNING)
      if controller.db.provision():
          print("Table Created")
      run(app, reloader=reload, port=port)
docs: run local app server, assumes into the account