I have a small python application, no frameworks to host. Is it possible to host it on DigitalOcean? and how? I’ve already installed python and pip and I can run the script manually but how can a serve it as a normal web application. Thanks
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
It depends. You can use a server implemented in Python or create a proxy in Apache/Nginx.
https://docs.python.org/3/library/http.server.html