summaryrefslogtreecommitdiff
path: root/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/manage.py b/manage.py
deleted file mode 100755
index 9efe083..0000000
--- a/manage.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python3 -B
-# -*- coding: utf-8 -*-
-
-import sys
-
-from app import app, db
-from flask.ext.script import Manager
-from flask.ext.migrate import Migrate, MigrateCommand
-
-migrate = Migrate(app, db)
-manager = Manager(app)
-manager.add_command('db', MigrateCommand)
-
-@manager.command
-def create():
- db.create_all()
-
-@manager.command
-def drop():
- db.drop_all()
-
-@manager.command
-def compile():
- """Compiles all templates."""
- app.jinja_env.compile_templates('comp', zip = None)
-
-if __name__ == "__main__":
- manager.run(default_command="runserver")