Wednesday, December 28, 2016

Re: What is the best combination of components when installing Django on Windows 10?

There's nothing recommending not to use uwsgi on windows. Deploying on windows may be not recommended, but if you must use it uwsgi may be compiled in cygwin. Actually even nginx may be compiled in cygwin and works fine

On Wed, Dec 28, 2016 at 5:03 AM, roboslone <roboslone@gmail.com> wrote:
Both nginx and Apache are cross-platform, so you could run them on Windows as your front-end servers. You can't use gunicorn and it's not recommended to use uWSGI on Windows (http://stackoverflow.com/questions/21071494/how-to-run-django-with-nginx-on-a-windows-machine), but you could still use mod_wsgi with apache. Nginx also has wsgi module.

PostgreSQL, MySQL and sqlite can run on Windows, so you should have no problem with DB either.

Personally I would recommend developing on Linux, since you'd probably deploy on linux servers eventually. You could rent a VPS or run Ubuntu on virtual machine like VirtualBox or VMWare (both supporting Windows as a host and many Linux distributions as guest OS), which is free, but could slow down your host machine.

As to what's the best combination, I couldn't really tell. Personally I use PostgreSQL, gunicorn and nginx.

On 26 Dec 2016, at 09:11, Varuna Seneviratna <varunaseneviratna@gmail.com> wrote:

Hello,
         What is the best combination of components to be used when installing Django on Windows 10; By Components, I mean the database and the web Server. 


Thanks, Varuna

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKW-c0wiaY%3D9viR4r_A3yvNCPSGZbN6W-C5akZ-bRLXZgbiDOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/667B7DB2-FF63-4928-ACCA-DDDC06CD3403%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6t%2Bmwz-YzRsBR5ZV88NzcjHfr_jt0b7w7vB%3DRSpYk6suaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment