Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, but setting up a rails or django server/hosting environment for development is a lot more difficult than a comparable php setup; tools like MAMP, XAMP, et al make it fairly trivial to get going quickly.


> pip install django

> django-admin.py startproject myproject

Is that really so hard?


You need pip first, especially if you're on Windows, which I'd imagine is a little more difficult than just installing XAMPP with an .exe.


XAMPP/MAMP and others like it seem like they make life easier until you hit a point where you realize that they are seriously leaky implementations. I wish I had time to write in detail about this (because I also hate when people make claims like this without showing examples); however, I have a feeling that the people that would benefit the most won't care anyway.

Don't these distros still put php.ini in c:\windows?


nope.avi

You need mysql-python, which depends on some header from mysql-client-dev, which requires some compiling or package, then there's PIL, virtualenv, uwsgi and shit.

Oh wait, you don't have pip on most distros by default. You need to apt-get or wget that.


If you follow defaults you'll be using SQLite in Django and won't have any of the MySQL headache.

But you're right about needing PIP.


If you are working on a serious project you are likely to write some db specific code, sqlite3 is only suitable for general ORM-only tasks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: