realms-wiki/app.py

11 lines
256 B
Python
Raw Normal View History

2013-09-26 16:51:15 +03:00
from gevent import monkey, pywsgi
monkey.patch_all()
2013-12-03 01:50:19 +02:00
import logging
from realms import app, config
2013-10-04 05:57:19 +03:00
2013-09-26 16:51:15 +03:00
if __name__ == '__main__':
2013-12-03 01:50:19 +02:00
print "Starting server"
app.logger.setLevel(logging.INFO)
pywsgi.WSGIServer(('', config.PORT), app).serve_forever()