Estructura de un proyecto
De WikiEducator
manage.py
Tip: Requiere Flask-Script
pip install flask-script
from flask.ext.script import Manager from sched.app import app manager = Manager(app) app.config['DEBUG'] = True # Ensure debugger will load. if __name__ == '__main__': manager.run()
$ python manage.py runserver –t 0.0.0.0 –p 8080