Well I've been successfully working in Windows with Django and Python last 3 years without much of troubles. Few libraries that don't play nice with virtualenvs.

So first things first:

Make sure that you install only 32 bit Python for windows. 64 bit will work but most of the libraries are only for 32 bit and you just get troubles for that.

Next thing after installin Python is to install of course easy_install, pip and virtualenv.

Then steps are rather easy:

go to directory of your choice.

Create virtualenv:
C:\my-venvs > virtualenv myenv --no-site-packages

Goto inside virtual environment created:
C:\my-venvs > cd myenv

Activate virtual environment:
C:\my-venvs\myenv > scripts\activate.bat

Install Django:
(myenv) C:\my-venvs\myenv > pip install django

Start new project:
(myenv) C:\my-venvs\myenv > django-admin startproject myproj

If you need I can do blog post about my current instructions how to setup whole dev environment from the ground up in Windows environment.

8.3.2012 14:07, Javier Guerra Giraldez kirjoitti:
On Wed, Mar 7, 2012 at 11:03 PM, Mika<schillerm...@gmail.com>  wrote:
But I'm just curious about the
objective advantages of Ubuntu over Windows vis a vis django?

all OpenSource tools and libraries are developed first and foremost to
work on unix-like systems.  while most of them do work very well on
windows too, it's always a second-class system.

conversely, if you develop on .NET, you can deploy on Linux if you
want, but it's always a step behind on that stack.  it's much easier
to just go with the preferred platform.

Why would
Windows cause headaches down the road?

there are several things: maybe you'd want to use IIS.... which
doesn't play well with FastCGI / WSGI.  or NGINX, which runs great on
POSIX, but on windows you're limited in the choice of backtransports.
or uWSGI, which has a lot of very handy process control abilities...
but few of them works on non-POSIX environments.  or you want Redis as
a mind-numbingly-fast on-memory database, but it's unsupported on
windows because it can't do persistence without sane fork()
primitives.

Also, is VMWare or Virtualbox
necessary? How would it benefit my development environment?

if you want to try a new OS, you have two options: install on a real
machine, or on a virtual machine.  if you certainly can keep your
windows OS and tools and just use a linux machine as a test server.
since it doesn't need a lot of power for that, you can avoid
dedicating a real machine by using a virtual one.


--

Jani Tiainen

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to