[python-uk] Suggestions / best practices for deployment
Muhammad Rahman
muhammad.rahman at tangentlabs.co.uk
Wed May 15 13:19:54 CEST 2013
Hi Harry,
I would use salt(http://docs.saltstack.com/index.html) for provisioning
and keep the python specific package to fabric to deploy using pip.
Even though salt is able to deploy pip requirements but I think this
separation is important.
Mustafiz.
On 15/05/2013 11:34, George Hickman wrote:
> Hi Harry,
>
> I use two methods for deployment - Heroku and Ubuntu VPSs.
>
> 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.
>
> 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.
>
> George
>
>
> On Wed, May 15, 2013 at 10:57 AM, Harry Percival
> <harry.percival at gmail.com <mailto:harry.percival at gmail.com>> wrote:
>
> Dear UK Python chums,
>
> 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.
>
> http://www.obeythetestinggoat.com/what-to-say-about-deployment.html
>
> 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)
>
> --
> ------------------------------
> Harry J.W. Percival
> ------------------------------
> Twitter: @hjwp
> Mobile: +44 (0) 78877 02511 <tel:%2B44%20%280%29%2078877%2002511>
> Skype: harry.percival
>
> _______________________________________________
> python-uk mailing list
> python-uk at python.org <mailto:python-uk at python.org>
> http://mail.python.org/mailman/listinfo/python-uk
>
>
>
>
> _______________________________________________
> python-uk mailing list
> python-uk at python.org
> http://mail.python.org/mailman/listinfo/python-uk
--
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: www.tangentlabs.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-uk/attachments/20130515/92bba475/attachment.html>
More information about the python-uk
mailing list