> On 3 Mar 2017, at 12:15 am, Jim Fulton <
j...@jimfulton.info> wrote:
>
>
>
> On Tue, Feb 28, 2017 at 1:06 AM, Dylan Jay <
dj...@pretaweb.com> wrote:
> I’m a big fan of a simple example on the first page ala Flask -
http://flask.pocoo.org.
>
> Hello world for something like flask is a no-brainer.
> (
http://bobo.readthedocs.io :-))
>
> I don’t mean removing what you already have, or changing the getting started section.
> But perhaps a sidebar or section on the current frontpage which shows the most typical yet minimal buildout? Just so that there is some concrete context to the abstract ideas of Repeatability, Componentization, Automation
> To me this would be a collective.recipe.template + zc.recipe.egg + some variable substitution. Maybe not the best application but this is what I showed first in this talk -
https://www.slideshare.net/djay/buildout-how-to-maintain-big-app-stacks-without-losing-your-mind.
>
> Perhaps something like installing flask + a config that lets you run it on a certain port?
>
> I'm open to examples. It's hard to come up with a meaningful buildout example that's the equivalent of hello world.
>
> Maybe we should just create a print recipe and:
>
> [buildout]
> parts = greeting
> who = world
>
> [greeting]
> recipe = buildout.print
> text = Hello ${buildout:who}
>
> This illustrates using a recipe and substitution and could show running as both:
>
> buildout
>
> and
>
> buildout who=guido
>
> Just an idea. Feel free to ignore.
>
> Ideas are good. :)
Yours looks simple which is good.
However it perhaps makes buildout look like its more an execution environment rather something that you use to gaffer tap others things togeather which you then run?
However the simplest example I could think of is that simple :(
[buildout]
parts = greeting
who = world
[greeting]
recipe = zc.recipe.egg
eggs = pyfiglet
initialization =
from pyfiglet import Figlet
f = Figlet(font=‘slant')
main = lambda: f.renderText("hello "+"""${buildout:who}""")
entry-points = greeting=__main__:main
then you run bin/greeting
>
> Jim
>
>
>
> > On 27 Feb 2017, at 9:41 pm, Jim Fulton <
j...@jimfulton.info> wrote:
> >
> >
> > I've made quite a bit of progress and I can see the light at the end of the tunnel. Much thanks for the excellent reviews I've gotten so far!
> >
> > Documentation that's been reviewed and merged to master is live at:
> >
> >
http://docs.buildout.org
> >
> > There are several documentation PRs awaiting review:
> >
> >
https://github.com/buildout/buildout/labels/Needs%20Review
> >
> > Once these reviews are done, I think we can announce the docs.
> >
> > There's a todo list:
> >
> >
https://github.com/buildout/buildout/blob/new-doc-integration/doc/todo.txt
> >
> > of remaining docs to reach parity with what we have now (which is pretty complete).
> >
> > Many of the items on the to-do list are small. (None are big) I can knock them out in the next week or so, I think, but I need reviewers. :)
> >
> > Jim
> >
> > --
> > Jim Fulton
> >
http://jimfulton.info
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Buildout Development" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to
buildout-develop...@googlegroups.com.
> > For more options, visit
https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Buildout Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
buildout-develop...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups "Buildout Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
buildout-develop...@googlegroups.com.