where to deploy a web2py app that uses websockets? -
i asked question , seems pythonanywhere doesn't support websockets.
pythonanywhere - how use websockets transmit messages per web2py messaging example?
so question deploy app effortlessly possible?
right when run locally easy as
python web2py.py & python websocket_messaging.py -p 8888 -k mykey
it's not going easy pythonanywhere, deploy vps, such digital ocean. make things easier, use 1 of web2py deployment scripts, such https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh. once have basic server set up, you'll still need install tornado , follow other instructions using websocket_messaging.py.
Comments
Post a Comment