Re: i need to place my django site on a server, i dont know how to do it! help!!!
....Or alwaysdata.com
They have a free plan
On 5/10/12, doniyor <doniyor.v.j@googlemail.com> wrote:
> 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
>>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/n7QkL8SrRTYJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Sent from my mobile device
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home