aboutsummaryrefslogtreecommitdiff
path: root/manager.py
blob: e664469acd56d6f700a06a0126dcfa7babae2713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
from bootstrap import application, db
from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand


Migrate(application, db)

manager = Manager(application)
manager.add_command('db', MigrateCommand)


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