Message from discussion
i need to place my django site on a server, i dont know how to do it! help!!!
Received: by 10.52.32.66 with SMTP id g2mr3855612vdi.5.1336673253865;
Thu, 10 May 2012 11:07:33 -0700 (PDT)
X-BeenThere: django-users@googlegroups.com
Received: by 10.52.88.40 with SMTP id bd8ls743913vdb.0.gmail; Thu, 10 May 2012
11:07:04 -0700 (PDT)
Received: by 10.52.30.40 with SMTP id p8mr249184vdh.15.1336673224491;
Thu, 10 May 2012 11:07:04 -0700 (PDT)
Date: Thu, 10 May 2012 11:07:03 -0700 (PDT)
From: doniyor <doniyor....@googlemail.com>
To: django-users@googlegroups.com
Message-ID: <168639.665.1336673223680.JavaMail.geo-discussion-forums@vbzd15>
In-Reply-To: <13603216.1292.1336659185619.JavaMail.geo-discussion-forums@ynbv36>
References: <28228565.128.1336652591531.JavaMail.geo-discussion-forums@vbzd15>
<13603216.1292.1336659185619.JavaMail.geo-discussion-forums@ynbv36>
Subject: Re: i need to place my django site on a server, i dont know how to
do it! help!!!
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_663_18203683.1336673223677"
------=_Part_663_18203683.1336673223677
Content-Type: multipart/alternative;
boundary="----=_Part_664_33552445.1336673223678"
------=_Part_664_33552445.1336673223678
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
many thanks eihli, i will follow the steps you gave.. cool, i let you know
about how it worked..
later
Am Donnerstag, 10. Mai 2012 16:13:05 UTC+2 schrieb eihli:
>
> This won't be a complete list but it's what I can remember off the top of
> my head.
> Things to do:
> Install Python
> Install Django
> Install database software (I chose Postgres. I guess you don't need this
> if you are using SQLite3).
> Create database and users and assign permissions.
> Install mod_wsgi.
> Edit your apache httpd.conf file to use mod_wsgi:
> http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
> If you are using apache to serve static html files (like your .css or
> image files) then you'll need to add an Alias to your apache config.
> Something like: Alias /myproject/static/
> /var/www/djangoapps/myproject/media/static
>
> Here are some links I bookmarked while trying to set up a VPS with Django:
>
> http://www.epicserve.com/blog/2011/nov/3/ubuntu-server-setup-guide-django-websites/
>
>
> http://bailey.st/blog/2012/05/02/ubuntu-django-postgresql-and-nginx-a-rock-solid-web-stack/
>
>
> http://blog.kevin-whitaker.net/post/725558757/running-django-with-postgres-nginx-and-fastcgi-on
>
>
> http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/
>
>
>
>
> On Thursday, 10 May 2012 07:23:11 UTC-5, doniyor wrote:
>>
>> Hi there,
>>
>> i need a small help: i have a django site, which is ready to test. now i
>> talked to a hosting service, they had only php and mysql supporting server,
>> but not django. they gave me a virtual server, where i can install django
>> and put my site there. now i am stuck. i dont know how to install django on
>> server and which python modules to install that run my site and where to
>> install. is there any list of steps to do this kind of job? it would be
>> very helpful. i just dont find a clue where to start. what i understand is:
>> apache is webserver and it is there on server. so i need some module that
>> supports python, right? i decided for mod_wsgi. i dont know why i decided
>> for this. before that i installed easy_install then i installed all python
>> packages including django. now when i log in to server thru Putty including
>> switching to root, i land to: domainname: /www/vhtdocs/domainname # and
>> this folder has some html files of my old site. they just copied from old
>> server to this virtual one. now the question is: is it the place where i
>> can just upload my whole django-site?
>>
>> i would be very thanksful for some instructions..
>>
>> thanks thanks.
>>
>> Doni
>>
>
------=_Part_664_33552445.1336673223678
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
many thanks eihli, i will follow the steps you gave.. cool, i let you know =
about how it worked.. <div><br></div><div>later </div><div> =
;<br><br>Am Donnerstag, 10. Mai 2012 16:13:05 UTC+2 schrieb eihli:<blockquo=
te class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left:=
1px #ccc solid;padding-left: 1ex;"><div>This won't be a complete list but =
it's what I can remember off the top of my head.</div><div>Things to do:</d=
iv><div>Install Python</div><div>Install Django</div><div>Install database =
software (I chose Postgres. I guess you don't need this if you are using SQ=
Lite3).</div><div>Create database and users and assign permissions.</div><d=
iv>Install mod_wsgi.</div><div>Edit your apache httpd.conf file to use mod_=
wsgi: <a href=3D"http://code.google.com/p/modwsgi/wiki/QuickConfigurat=
ionGuide" target=3D"_blank">http://code.google.<wbr>com/p/modwsgi/wiki/<wbr=
>QuickConfigurationGuide</a></div><div>If you are using apache to serve sta=
tic html files (like your .css or image files) then you'll need to add an A=
lias to your apache config. Something like: Alias /myproject/static/ /=
var/www/djangoapps/myproject/<wbr>media/static</div><div><div><div><br></di=
v><div>Here are some links I bookmarked while trying to set up a VPS with D=
jango:</div><div><a href=3D"http://www.epicserve.com/blog/2011/nov/3/ubuntu=
-server-setup-guide-django-websites/" target=3D"_blank">http://www.epicserv=
e.com/blog/<wbr>2011/nov/3/ubuntu-server-<wbr>setup-guide-django-websites/<=
/a> <br><a href=3D"http://bailey.st/blog/2012/05/02/ubuntu-django-post=
gresql-and-nginx-a-rock-solid-web-stack/" target=3D"_blank">http://bailey.s=
t/blog/2012/05/<wbr>02/ubuntu-django-postgresql-<wbr>and-nginx-a-rock-solid=
-web-<wbr>stack/</a> </div><div><a href=3D"http://blog.kevin-whitaker.=
net/post/725558757/running-django-with-postgres-nginx-and-fastcgi-on" targe=
t=3D"_blank">http://blog.kevin-whitaker.<wbr>net/post/725558757/running-<wb=
r>django-with-postgres-nginx-<wbr>and-fastcgi-on</a> <br></div><div><a=
href=3D"http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-=
server-django/" target=3D"_blank">http://brandonkonkle.com/blog/<wbr>2010/j=
un/25/provisioning-new-<wbr>ubuntu-server-django/</a> <br></div><div><=
br></div><div><br></div><div><br>On Thursday, 10 May 2012 07:23:11 UTC-5, d=
oniyor wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-le=
ft:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there, <div><=
br></div><div>i need a small help: i have a django site, which is ready to =
test. now i talked to a hosting service, they had only php and mysql suppor=
ting server, but not django. they gave me a virtual server, where i can ins=
tall django and put my site there. now i am stuck. i dont know how to insta=
ll django on server and which python modules to install that run my site an=
d where to install. is there any list of steps to do this kind of job? it w=
ould be very helpful. i just dont find a clue where to start. what i unders=
tand is: </div><div>apache is webserver and it is there on server. so =
i need some module that supports python, right? i decided for mod_wsgi. i d=
ont know why i decided for this. before that i installed easy_install then =
i installed all python packages including django. now when i log in to serv=
er thru Putty including switching to root, i land to: <font color=3D"#99000=
0">domainname: /www/vhtdocs/domainname #</font> and this folder has so=
me html files of my old site. they just copied from old server to this virt=
ual one. now the question is: is it the place where i can just upload my wh=
ole django-site? </div><div><br></div><div>i would be very thanksful f=
or some instructions.. </div><div><br></div><div>thanks thanks.</div><=
div><br></div><div>Doni </div></blockquote></div></div></div></blockqu=
ote></div>
------=_Part_664_33552445.1336673223678--
------=_Part_663_18203683.1336673223677--