Anonymous
My feedback
1 result found
-
295 votes
We have an article with an instruction how to set up django on Plesk server https://www.plesk.com/blog/product-technology/plesk-and-django
So, now we would like to get a feedback what is the most critical things you need to manage with Plesk regarding django.An error occurred while saving the comment Anonymous supported this idea ·
I haven't seen this support article referenced in this thread (maybe I missed it), but there is a very good article on installing a django application using Passenger here: https://support.plesk.com/hc/en-us/articles/115002701209-How-to-allow-installing-and-install-Django-applications
I have installed several sites following this. It isn't for the feint, but it does work well. There probably can't be a one click and done for Django like there is for Wordpress, but there could be an interface that simplifies a lot of this setup: Include Python 3.6 or higher installed, include Passenger installed, and then a step through form to create the virtual environment, install Django, create the initial Django app, and create the passenger file, etc. You will still need to be able to run "python manage.py" from the command line.
Postgres is also preferred for Django in many situations, but the version of Postgres available on Plesk is too old to be supported by Django. You can install a current version, but a lot of work. I've been working on Centos 7, so perhaps other distros are a bit different.
Django is possible on Plesk but it sure would be nice if it was a lot easier!