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.
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!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.