Deploying Django on VPS using Apache2 mysql using Ubuntu

泪湿孤枕 提交于 2020-01-03 05:24:29

问题


I am trying to deploy my project on VPS(Ubuntu). I tried following all the steps from the Django documentation as well as other websites without any success.

My issue is that when i run the server, it will be alive only till the terminal is open.

So i am predicting that there is some issue with the procedure am using.

I am using Django with Apache2, mod_wsgi, cartridge, mysql, python.

I am now struck with a VPS and nothing in mind.

I wish if somebody could suggest me tutorial or any documentation which will help me continue.

I have successfully run the server on Ubuntu VPS. But it is on Development server.

thanks in advance

Sameer


回答1:


you will use this Link please do not miss any step after complete all steps you will able to run your application.

there are more guideline's, follow the step by step.

http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/ http://michal.karzynski.pl/blog/2013/09/14/django-in-virtualenv-on-webfactions-apache-with-mod-wsgi/ https://library.linode.com/frameworks/django-apache-mod-wsgi/ubuntu-10.10-maverick



来源:https://stackoverflow.com/questions/21257894/deploying-django-on-vps-using-apache2-mysql-using-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!