Deploying a Python3.6 Flask project to Ubuntu14.04 with a LAMP Stack
I have a local Python3 Project that uses Flask. I use it to display search results via the URL.
How do I deploy this to my existing DigitalOcean Droplet that’s running Ubuntu 14.04 with a LAMP stack?
I’ve tried this guide. I don’t have much problem with the installation of flask and the dependencies, and I got to the part where I will create the test Python script and run it.
I was able to create the script and run it. I got the prompt telling me that the Python Flask Script is running on 127.0.01:5000, and i then checked mysite.com:5000 but I got no response.
I continued to proceed with the tutorial up the point where it asked me to execute:
uwsgi –socket 0.0.0.0:8000 –protocol=http -w wsgi
After which, I visited mysite.com:8000 but still, no avail.
Now I’m not quite sure how to proceed, and any help will be very much appreciated.