On Thursday, March 24, 2011 08:06:15 pm Dave Parsons wrote:
> Agreed this is a central problem of Python. In addition to learning the
> language, the start-up ramp includes setuptools/easy_install, pip,
> virtualenv, virtualenvwrapper, pypi, etc. Then you have to figure out if
> it's better to install Python packages via apt or pip. But it's worth the
> investment in time. Once the environment is set up, you have a reliable,
> reproducible, cocoon in which to get work done.
>
> This is the sequence I usually use on Ubuntu 10.04 LTS. Not that I'm an
> expert, but this works for me:

yuck - complicated. I suppose thats the cost of a rapidly evolving platform 
that gives one lots of choices .. which are also a good thing :)
apt would be a whole lot easier if silly IT didnt force me to use kubuntu 
within a VM on windows ( kinda constrained on a laptop). ah well ..

> Since you mentioned ssh/paramiko, you should also take a look at Fabric.
> It's a nice tool for deployment. Happens to be written in Python, but I
> think it only relies on paramiko.
 
actually I started looking @ Fabric first which is how I ended up on paramiko. 
I was just trying to determine how long it takes me to get an env up & running 
and be able to run a simple cmd via ssh & capture it's output.

> I spent the last few weeks developing a Fabric script for building up an
> Nginx/uWSGI/MySQL/virtualenv/Django production server on top of Ubuntu
> (happens to be on AWS, but could be any VPS). It's great to be able to
> build a server from scratch with one command. Just this afternoon I was
> thinking I can't be the only one trying to build a production Python or
> Django server. When I find some time, I'll share it at one of the usual
> spots.

similar to what I am trying to do. I have to manage around 8 JVM stacks ( 
mysql/java/tomcat/apache/etc) and make sure the env's are setup properly, etc 
etc. on solaris though .. not the cloud.

thanks all for your input .. just needed to vent a bit =)

cheers,
-- 
Nimret Sandhu
http://www.nimret.com
http://www.nimsoft.biz

Reply via email to