#!/usr/bin/env python

import os
from app import create_app
from flask.ext.script import Manager

application = create_app(os.getenv('FLASH_CONFIG') or 'default')
manager = Manager(application)

if __name__ == '__main__':
    manager.run()

#!/usr/bin/env python

import os
from app import create_app
from flask.ext.script import Manager, Server

application = create_app(os.getenv('FLASH_CONFIG') or 'default')
manager = Manager(application)
manager.add_command("runserver", Server(port=5002))

if __name__ == '__main__':
    manager.run()

Update to run on port 5002
Update to run on port 5002

For development we will want to run multiple apps, so they should each bind to a different port number.
