The SumoInterface resides here
You can copy the whole repository and serve it from somewhere else. For setting up the nginx server with nchan check out the installation instructions here. Modify the /etc/nginx/nginx.conf to add below config for the nchan WebSocket server.
server {
listen 80;
server_name localhost;
root /var/www;
location ~ "^/p2p/([\w\d\-]+)/([\w\d\-]+)" {
nchan_pubsub websocket;
nchan_message_buffer_length 0;
nchan_publisher_channel_id $1/$2;
nchan_subscriber_channel_id $2/$1;
}
}Finally change the IP also in assets/js/main.js and for the SumoRobots either with adafruit-ampy or SumoManager.
If you find our work useful, please consider donating : )
- ace
- nginx
- nchan
- Google Blockly
- WebSocket
- Lauri Võsandi
- K-SPACE MTÜ
