#!/usr/bin/env python

import sys, os
sys.path.pop(0)
sys.path.insert(0, os.getcwd())

from flask_application import app
from flask.ext.script import Manager, Server

from flask_application.script import ResetDB, PopulateDB

from flask.ext.security.script import (CreateUserCommand , AddRoleCommand,
        RemoveRoleCommand, ActivateUserCommand, DeactivateUserCommand)

manager = Manager(app)
manager.add_command("runserver", Server())

manager.add_command("reset_db", ResetDB())
manager.add_command("populate_db", PopulateDB())

manager.add_command('create_user', CreateUserCommand())
manager.add_command('add_role', AddRoleCommand())
manager.add_command('remove_role', RemoveRoleCommand())
manager.add_command('deactivate_user', DeactivateUserCommand())
manager.add_command('activate_user', ActivateUserCommand())

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

45df0c4ae5206f9f349addf4df46c7a85de55c5d
<mask token>

<mask token>
sys.path.pop(0)
sys.path.insert(0, os.getcwd())
<mask token>
manager.add_command('runserver', Server())
manager.add_command('reset_db', ResetDB())
manager.add_command('populate_db', PopulateDB())
manager.add_command('create_user', CreateUserCommand())
manager.add_command('add_role', AddRoleCommand())
manager.add_command('remove_role', RemoveRoleCommand())
manager.add_command('deactivate_user', DeactivateUserCommand())
manager.add_command('activate_user', ActivateUserCommand())
if __name__ == '__main__':
    manager.run()

<mask token>
sys.path.pop(0)
sys.path.insert(0, os.getcwd())
<mask token>
manager = Manager(app)
manager.add_command('runserver', Server())
manager.add_command('reset_db', ResetDB())
manager.add_command('populate_db', PopulateDB())
manager.add_command('create_user', CreateUserCommand())
manager.add_command('add_role', AddRoleCommand())
manager.add_command('remove_role', RemoveRoleCommand())
manager.add_command('deactivate_user', DeactivateUserCommand())
manager.add_command('activate_user', ActivateUserCommand())
if __name__ == '__main__':
    manager.run()

import sys, os
sys.path.pop(0)
sys.path.insert(0, os.getcwd())
from flask_application import app
from flask.ext.script import Manager, Server
from flask_application.script import ResetDB, PopulateDB
from flask.ext.security.script import CreateUserCommand, AddRoleCommand, RemoveRoleCommand, ActivateUserCommand, DeactivateUserCommand
manager = Manager(app)
manager.add_command('runserver', Server())
manager.add_command('reset_db', ResetDB())
manager.add_command('populate_db', PopulateDB())
manager.add_command('create_user', CreateUserCommand())
manager.add_command('add_role', AddRoleCommand())
manager.add_command('remove_role', RemoveRoleCommand())
manager.add_command('deactivate_user', DeactivateUserCommand())
manager.add_command('activate_user', ActivateUserCommand())
if __name__ == '__main__':
    manager.run()

#!/usr/bin/env python

import sys, os
sys.path.pop(0)
sys.path.insert(0, os.getcwd())

from flask_application import app
from flask.ext.script import Manager, Server

from flask_application.script import ResetDB, PopulateDB

from flask.ext.security.script import (CreateUserCommand , AddRoleCommand,
        RemoveRoleCommand, ActivateUserCommand, DeactivateUserCommand)

manager = Manager(app)
manager.add_command("runserver", Server())

manager.add_command("reset_db", ResetDB())
manager.add_command("populate_db", PopulateDB())

manager.add_command('create_user', CreateUserCommand())
manager.add_command('add_role', AddRoleCommand())
manager.add_command('remove_role', RemoveRoleCommand())
manager.add_command('deactivate_user', DeactivateUserCommand())
manager.add_command('activate_user', ActivateUserCommand())

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