[python-uk] Suggestions / best practices for deployment

George Hickman george at ghickman.co.uk
Wed May 15 12:34:51 CEST 2013


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>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
> Skype:         harry.percival
>
> _______________________________________________
> python-uk mailing list
> python-uk at python.org
> http://mail.python.org/mailman/listinfo/python-uk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-uk/attachments/20130515/4bfa008e/attachment-0001.html>


More information about the python-uk mailing list