How do I enable socket I/0 for publish realtime and publish progress?
If you’re trying to use socketio in a local server not in production, it won’t work.
You need a production environment for services like socketio to function. Try writing some publish real-time code and push it to a production server to see if it works.
Can you elaborate?
Try looking into this
https://frappeframework.com/docs/user/en/bench/guides/setup-production
Enable production in a bench and then try to run the script having socketio commands.
The other option is to host a site in frappe cloud and install your app with the socketio script in that site via git.