Your Ad Here

Friday, January 13, 2012

Re: Does anyone know any blogs that write about how to quickly install and deploy a django application on Amazon EC2?

nginx runs on windows xp, and should run on vista/7 too.

I've even managed to compile a version on cygwin with an additionally patched module that allows for file upload progress tracking.

If anyone wants it, i can put it on github with a sample .conf file, but no strings attached at all.


Cheers,
AT

On Fri, Jan 13, 2012 at 1:36 PM, Stuart Laughlin <stuart@bistrotech.net> wrote:
On Jan 12, 9:16 pm, Andres Reyes <armo...@gmail.com> wrote:
> You mean that the webserver that Django itself recommends in https://docs.djangoproject.com/en/dev/howto/deployment/is not a good
> choice?
>

When that documentation was written, apache/mod_wsgi was likely the
best, easiest, and most stable option. That combination still works
today and many people use it successfully. To that extent, it is a
good choice.

However, I am saying it is not the best choice anymore -- at least not
for people who are just getting started and/or people who lack prior
apache experience. In this case I would recommend nginx or lighttpd or
cherokee for the web server and gunicorn or uwsgi for the application
server. By this time they are stable, and they are faster and easier
than apache/mod_wsgi.

I wrote more about this in a reply to this thread where I changed the
subject to "Web Servers for Django Projects".

If I recall correctly, I have heard some of the core devs mention
updating the docs to include some of these other options. I wonder if
anyone has submitted a patch for those doc updates. If not, maybe I've
found my weekend project.

A final thought that I did not consider until just now -- cross-
platform compatibility might be a factor. I use linux for everything,
so that's all I care about. To be frank I have no idea whether nginx /
lighttpd / cherokee / gunicorn / uwsgi run on Windows or Mac. If they
do not then that can tend to complicate the docs somewhat.


--Stuart

--
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.


--
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