Forums

Deploying Voila on PythonAnywhere

Hi,

Thanks for the great service, love PythonAnywhere! I was curious whether there is any way to deploy Voila apps on PythonAnywhere? Currently I am using mybinder which works great, but this requires me to make the repository public. Which if possible I would prefer not to.

I suppose the relevant technical information is here: https://voila.readthedocs.io/en/stable/deploy.html#running-voila-on-a-private-server

Thanks

Good question! The short answer is, "it might be" :-)

The longer answer -- with our existing front-end systems, we only support WSGI-based web frameworks, which would exclude Voila. However, we're currently running a limited beta of a new back-end system (front-end coming soon) that supports any web server that can serve on a Unix domain socket. I've done some digging around in the Voila docs, and couldn't find anything saying that it definitely can support domain sockets, but I would expect it to be able to. Is there a good place to ask about that that you know of? Or do you know of someone who might know?

Thanks for the answer. Regarding domain sockets, I have no idea, I will look around and come back here if I find something relevant.

Please do! If you do find anything about that, we should be able to give you instructions on how to set it up.