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 but I got no response.

I continued to proceed with the tutorial up the point where it asked me to execute: uwsgi --socket --protocol=http -w wsgi

After which, I visited but still, no avail.

Now I’m not quite sure how to proceed, and any help will be very much appreciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer