3 ms·
How is creating the local server environment on RoR or Python/Django easier than PHP/anything? I've been developing locally for years and while I can't mimic t
by leftnode 16y ago
How is creating the local server environment on RoR or Python/Django easier than PHP/anything?
I've been developing locally for years and while I can't mimic the exact hardware of the live server, I wouldn't be able to do that regardless of stack I chose.
- Pewpewarrows 16y agoFor the Python world, virtualenvs and pip requirement files make deploying a local copy of a project take about 30 seconds, and it's completely independent of your overall system and all other projects you happen to be working on.
- leftnode 16y agoGotcha. With git and a Phing build script, I can do the same in PHP :)
- StavrosK 16y agoAs Pewpewarrows said, you can use pip with a virtualenv to deploy with one command. If your settings.py is any good, you can load your data dump in an sqlite database in one more command, and you're ready to go. We used to develop historious like this, until we switched to redis/celery. Then it became too much hassle to install these in every machine, plus we wanted to test on the db we used (postgres) rather than sqlite, so we made a VM and now everything's dandy.