Re:Faster Web Development With Virtual Machines at deviantART
by StavrosK on Thursday October 07, 2010 @09:24PM
(#1770224)
As 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.
Re:Faster Web Development With Virtual Machines at deviantART
by Pewpewarrows on Thursday October 07, 2010 @08:36PM
(#1770103)
For 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.
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.