Deploying django app on Apache mod_python

前端 未结 5 2154
名媛妹妹
名媛妹妹 2021-02-11 07:55

I\'ve finished making a site in django called \'kazbah\', and I\'m trying to deploy.

All the code for the kazbah site is in /home/git/DjangoProjects/kazbah and my httpd.

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-11 08:49

    I'm pretty sure you can do the sys.path thing - it's in the django documentation.

    I might go over the django doc http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ as I was trying another tutorial(which is a bit outdated I think) - http://www.jeffbaier.com/2007/07/26/installing-django-on-an-ubuntu-linux-server/

提交回复
热议问题