3 ms·
I feel like that reasoning should be outlined in the tutorial. As a newbie, it seems like a pain to get django running if I have to set up a VM just to do it, a
by hayksaakian 14y ago
I feel like that reasoning should be outlined in the tutorial. As a newbie, it seems like a pain to get django running if I have to set up a VM just to do it, and the author provides little explanation.
Coming from rails, its weird to me that he seems to emphasize their 'gem install' equivalent over their bundler equivalent.
Otherwise, a great tutorial.
- tonyarkles 14y agoThat's because there isn't really a good "bundler equivalent" that I know of. That was one of the more frustrating parts of Python work for me. Virtualenv is kind of a hybrid between gem and bundler, and it works, but it's nowhere near as elegant.
- huxley 14y agoThe jobs are divided a bit differently but the combo of gem/rvm/bundler is matched quite nicely by pip and virtualenv (with virtualenvwrapper adding some nice conveniences) This article covers some of the equivalent jobs using Ruby and Python: http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-virtualenv-for-rubyists/ http://gillesfabio.com/blog/2011/03/01/rvm-for-pythonistas-v... The article misses covering the freeze command in pip which is great for generating requirements.txt files: pip freeze > requirements.txt Covered in detail here: http://www.pip-installer.org/en/latest/requirements.html http://www.pip-installer.org/en/latest/requirements.html
- hayksaakian 14y agoRequirements.txt is the gemlock equivalent then?
- huxley 14y agoGemlock sounds more like Yolk: http://pypi.python.org/pypi/yolk/0.4.3 http://pypi.python.org/pypi/yolk/0.4.3