Skip to content
Browse files

using simpler code structure...

  • Loading branch information...
1 parent 05002b1 commit 020757a1e8b252607f25a099621ad3fdae8adc9b @eweiser committed
Showing with 0 additions and 24 deletions.
  1. +0 −5 __init__.py
  2. +0 −19 manage.py
View
5 __init__.py
@@ -1,5 +0,0 @@
-from flask import Flask
-app = Flask(__name__)
-
-if __name__ == '__main__':
- app.run()
View
19 manage.py
@@ -1,19 +0,0 @@
-# Set the path
-import os, sys
-sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
-
-from flask.ext.script import Manager, Server
-from settle_princeton import app
-
-manager = Manager(app)
-
-# Turn on debugger by default and reloader
-manager.add_command("runserver", Server(
- use_debugger = True,
- use_reloader = True,
- host = '0.0.0.0')
-)
-
-if __name__ == "__main__":
- manager.run()
-

0 comments on commit 020757a

Please sign in to comment.
Something went wrong with that request. Please try again.