<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Harry,<br>
<br>
I would use salt(<a class="moz-txt-link-freetext" href="http://docs.saltstack.com/index.html">http://docs.saltstack.com/index.html</a>) for
provisioning and keep the python specific package to fabric to
deploy using pip. <br>
<br>
Even though salt is able to deploy pip requirements but I think this
separation is important.<br>
<br>
Mustafiz.<br>
<br>
<div class="moz-cite-prefix">On 15/05/2013 11:34, George Hickman
wrote:<br>
</div>
<blockquote
cite="mid:CABZx=3D_6oS813Kaph367tHE+m0RGPROdcPotz3ZZ77v__a8mg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">Hi Harry,</div>
<div><br>
</div>
I use two methods for deployment - Heroku and Ubuntu VPSs.
<div><br>
</div>
<div>Heroku is really simple to get going but gets expensive if
you want to run a serious production app. However it's
probably what I'd recommend for beginners since so much is
done for you and they have first class python support.</div>
<div><br>
</div>
<div>For VPS deploys I use Nginx, Daemontools (for the envdir
package), Supervisor, Gunicorn and Postgres (with Django). I
usually deploy this setup with a mixture of Salt to build the
VPS and Fabric to deploy the code.</div>
<div><br>
</div>
<div style="">George</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, May 15, 2013 at 10:57 AM, Harry
Percival <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:harry.percival@gmail.com" target="_blank">harry.percival@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Dear UK Python chums,<br>
<br>
</div>
some of you probably know I'm writing a book about TDD
for O'Reilly. I'm looking for some help with the
(first) chapter on deployment.<br>
<br>
<a moz-do-not-send="true"
href="http://www.obeythetestinggoat.com/what-to-say-about-deployment.html"
target="_blank">http://www.obeythetestinggoat.com/what-to-say-about-deployment.html</a><br>
<br>
</div>
What do you use for deployment? Do you have any kind of
automated scripts? How do you manage virtualenvs, the
database, apache/uwsgi config... What do you think might
work as a sort of "best practice lite" for a simple site
for beginners? (django, sqlite database, static files)<span
class="HOEnZb"><font color="#888888"><br clear="all">
<div>
<div>
<div><br>
-- <br>
------------------------------<br>
Harry J.W. Percival<br>
------------------------------<br>
Twitter: @hjwp<br>
Mobile: <a moz-do-not-send="true"
href="tel:%2B44%20%280%29%2078877%2002511"
value="+447887702511" target="_blank">+44 (0)
78877 02511</a><br>
Skype: harry.percival
</div>
</div>
</div>
</font></span></div>
<br>
_______________________________________________<br>
python-uk mailing list<br>
<a moz-do-not-send="true" href="mailto:python-uk@python.org">python-uk@python.org</a><br>
<a moz-do-not-send="true"
href="http://mail.python.org/mailman/listinfo/python-uk"
target="_blank">http://mail.python.org/mailman/listinfo/python-uk</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
python-uk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:python-uk@python.org">python-uk@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-uk">http://mail.python.org/mailman/listinfo/python-uk</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<pre style="color: #cccccc;">Muhammad Rahman
Developer
Tangent Labs
84 - 86 Great Portland Street
London, W1W 7NR
T: +44 (0)207 462 6150 (Office)
F: +44 (0)207 462 6111
W: <a class="moz-txt-link-abbreviated" href="http://www.tangentlabs.co.uk">www.tangentlabs.co.uk</a></pre>
</div>
</body>
</html>