Hello,
I want to run Flask in a production environment via a WSGI, to install this you require sudo, is this possible?
Thanks
Hello,
I want to run Flask in a production environment via a WSGI, to install this you require sudo, is this possible?
Thanks
You don't need to do any of that server admin on PythonAnywhere -- as soon as you've set up a website on the "Web" tab, it's already running in a production-ready environment with nginx as a loadbalancer, another nginx as a web server, and uWSGI operating as a WSGI server.
Ok thanks for the response. I've noticed lag when publishing to a live environment, what is the estimated propagation time?
Also, I've tried using render_template within Flask but I'm getting server not found errors on web page, is there a known solution?
Thanks,
Is this with a different PythonAnywhere account? I can't see any websites configured for nickyp909.
If you were talking about different hosting providers when you mentioned lag, a push to PythonAnywhere followed by a reload (by either hitting the button on the "Web" tab, or calling the API) should be pretty much immediate -- the only delay will be any time your own code runs for before it starts serving requests.
,