Wednesday, September 25, 2013

Re: Recommended dev environment for a Django project deployed to Linode


Check virtualenvwrapper

http://virtualenvwrapper.readthedocs.org/en/latest/



On 09/25/2013 08:06 PM, Jorge Arevalo wrote:
Fine. I don't think my boss is going to pay for PyCharm license, so I'll probably go for Eclipse now (I don't really like it too much, but if works, it's ok for me)

About virtualenv, is there any method to provide something like a script to create a virtualenv, install the needed software and have a working environment in a few commands? Something like "vagrantfile for virtualenv" http://docs.vagrantup.com/v2/vagrantfile/index.html

Again, many thanks for your useful insights

On Tuesday, September 17, 2013 4:29:14 PM UTC+2, Vernon D. Cole wrote:
Answering the other half of your question:  The choice of IDE is not nearly as important as its ease of integration with your dvcs.  If you are already familiar with a good one, don't change.

On my present project, my boss and I are both using PyCharm, and my other co-worker is using Eclipse, since he is more comfortable (and therefore, more productive) with it. Both IDE's have good integration with git (my least favourite dvcs, but the boss's choice) and our sharing is done using a group private repository on github.  This is on Ubuntu Linux, it all works well.   In the evening hours, I use PyCharm on Windows 7 to contribute to an open source project hosted on bitbucket using mercurial. Both projects end up being tested on the same Linode.

Yes, use virtualenv.  I also made the mistake of thinking of it as a virtual computer.  It is not.  It is only a method of separating Python library directories so that you can experiment with different configurations easily.  It does not slow anything down, and actually makes installation of packages easier.  Use virtualenvwrapper to make switching environments easy.  PyCharm also supports virtual environments as well as django projects. It is commercial, and suffers from a few Java idiosyncrasies, but the boss paid for the license ;-) so I don't mind.

--
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


--     Roberto López López  System Developer  Parallab, Uni Computing  +47 55584091

No comments:

Post a Comment