On May 20, 6:28 am, Chris Withers <[email protected]> wrote:
> Hey All,
>
> As a total newbie to Pylons I thought I'd ask some questions about
> deployment:
>
> - which bits of a Pylons project do you version control? *

It's been a while since I started a new Pylons project from scratch,
but I think everything that's generated by paster create plus the
modules you add minus anything that's generated (the data directory
comes to mind).

> - how do you build all the other bits? *

python setup.py install

Actually, I use Paver to build minified JS files and things like that,
but the standard install command can still be used.

> - what do people use to serve their sites? Is whatever
>    "paster serve blah.ini" using suitable for serving to the wide world
>    or does it need to be proxied through something like Apache?

It's unlikely that you'd want to expose the Paste server directly to
the world. Paste server behind a proxy is a good choice though.

> - if using "paster serve", how do people wire it so that it starts at
>    machine startup and stops at machine shutdown?

supervisord.org or runit or perhaps daemontools (runit is like
daemontools but written in Python; supervisor can be installed by any
user).

> - is "paster serve" the recommended option? If not, what is?

I don't know if there's an officially recommended option, `but paster
serve` is a good choice, at least for my needs.

> cheers,
>
> Chris
>
> * I'd like to be using buildout for things wherever possible, the
> following is what I have so far:
>
> [buildout]
> parts = pylons
> develop = myproj
>
> [pylons]
> recipe = zc.recipe.egg
> eggs =
>    Pylons
>    PasteScript
>    myproj
>
> --
> Simplistix - Content Management, Zope & Python Consulting
>             -http://www.simplistix.co.uk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to