From 459e96e906746e8ca2fb4e33235c4576f2e01541 Mon Sep 17 00:00:00 2001 From: sudan Date: Mon, 25 Jan 2016 19:03:00 +0800 Subject: remove gunicorn --- manage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'manage.py') diff --git a/manage.py b/manage.py index 30f5ea5..ec02b06 100644 --- a/manage.py +++ b/manage.py @@ -1,4 +1,5 @@ from flask.ext.script import Manager, Server +from flask.ext.script.commands import Clean from pastebin import app, db manager = Manager(app) @@ -16,6 +17,7 @@ def dropdb(): db.drop_all() manager.add_command('server', Server(host='0.0.0.0', port=9200)) +manager.add_command("clean", Clean()) if __name__ == '__main__': -- cgit