deploy websocket code