By xandervolt
This is my first time using digitalOcean so I’m not quite sure how it all works.
I setup a droplet with the 1-click install for django on 16.04, I went to the ip address in the browser and the default start page was running.
Then I went into my home directory and deleted my django/ folder holding the default django project created when I setup my droplet.
I cloned my git repository into the /home directory and installed all the necessary requirements. I can run the server with no issues coming up in bash but still get that 502 Bad gateway error.
I tried running service gunicorn restart but no luck. I have a feeling its a gunicorn settings. I’m not sure how to see the errors also. I’ve only used PythonAnywhere before so not too sure how everything works here. Thanks for your help
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!
I looked here but it is for Ubuntu 14.04 and does not have the same configuration. gunicorn.conf doesnt exist in etc/init/
please can anyone help
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.