Statistics
| Branch: | Tag: | Revision:

root / run_poller.py @ 0f03076d

History | View | Annotate | Download (218 Bytes)

1 3e99e2d1 Leonidas Poulopoulos
#!/usr/bin/python
2 3e99e2d1 Leonidas Poulopoulos
from gevent.wsgi import WSGIServer
3 3e99e2d1 Leonidas Poulopoulos
from poller.application import application
4 97e42c7d Leonidas Poulopoulos
server="localhost"
5 97e42c7d Leonidas Poulopoulos
port=8081
6 97e42c7d Leonidas Poulopoulos
print 'Serving on port %s...' % port
7 97e42c7d Leonidas Poulopoulos
WSGIServer((server,port ), application).serve_forever()