Page MenuHome

manage.py
No OneTemporary

manage.py

from flask.ext.script import Manager
from flask.ext.migrate import MigrateCommand
from application import app
from application import db
from tests import unittest
manager = Manager(app)
manager.add_command('db', MigrateCommand)
@manager.command
def runserver():
app.run(
port=9999,
debug=True)
@manager.command
def create_all_tables():
db.create_all()
if __name__ == "__main__":
manager.run()

File Metadata

Mime Type
text/x-python
Expires
Sun, Oct 4, 1:17 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2a/40/bd5ba4580fc28c6eb730359a3d15

Event Timeline