Tuesday, March 20, 2018

Re: Trouble deploying Django/wagtail on Ubuntu 14.04

You have to set the python-path too:

WSGIDaemonProcess bakerydemo python-home=/home/<user>/.virtualenvs/wagtailbakerydemo/ python-path=/home/<user>/bakerydemo/

In the logs you see "
No module named 'bakerydemo'" because you did not add the project directory to the python-path. Hope this works.

Best regards

Andreas

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/52cbd379-8e11-4c96-86b6-7910bd6ff8ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment