I am running a LAMP image on Ubuntu 14.04. I want to run a Django app alongside to gather data off the same MySQL database.
I’ve looked through WSGI tutorials, but haven’t found anything to help me get this running from the web. I put my project in the /var/www folder.
I have the Django app running on my laptop, but how can I move it to my droplet and access it through the web?
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!
Hello,
I took this guide and ran it along side a droplet I already had a site running on Apache and it worked without any issue. Can you give that a try?
You do not have to use the test app, you can copy over your app directly. You will just use your application settings instead of the test app settings when configuring things.
Since you already have Apache installed as well, you can ignore setting that up, aside from the VirtualHost. You will still need to configure that.
Heya,
There are a couple of videos you can follow such as :
https://www.youtube.com/watch?v=BrVHwQ-SJUA Also, you can check this written one https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu
if you decide to use Nginx.
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.