realms-wiki/manage.py
Matthew Scragg b02d3db684 WIP
2014-08-20 10:28:25 -05:00

13 lines
282 B
Python

from gevent import wsgi
from realms import config, app, manager
@manager.command
def server():
print "Server started. Env: %s Port: %s" % (config.ENV, config.PORT)
wsgi.WSGIServer(('', int(config.PORT)), app).serve_forever()
if __name__ == '__main__':
manager.run()