stephenmcd / django-socketio

WebSockets for Django
BSD 2-Clause "Simplified" License
1.32k stars 244 forks source link

manage.py runserver_socketio: error: unrecognized arguments #101

Closed iQuick closed 8 years ago

iQuick commented 8 years ago

[em@EmCentos djweb]$ sudo python manage.py runserver_socketio '0.0.0.0:8020' usage: manage.py runserver_socketio [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback] [--no-color] manage.py runserver_socketio: error: unrecognized arguments: 0.0.0.0:8020

Benoit-Besnier commented 8 years ago

You can pass through this kind of error by adding SOCKETIO_HOST and SOCKETIO_PORT in your setting.py. Something like :

SOCKETIO_HOST = '0.0.0.0'
SOCKETIO_PORT = 9876

Then you can use this to start the socketio server : "python manage.py runserver_socketio"

iQuick commented 8 years ago

thank for you

stephenmcd commented 8 years ago

Duplicate #85