durusmail: quixote-users: Re: Popularity of Quixote
Popularity of Quixote
2005-10-17
2005-10-17
Re: Popularity of Quixote
2005-10-18
2005-10-19
2005-10-19
2005-10-19
ANN: TURBOZCHERRYPLORAILS
2005-10-19
2005-10-19
2005-10-19
2005-10-22
2005-10-22
2005-10-25
2005-10-25
2005-10-25
2005-10-25
2005-10-25
2005-10-25
2005-10-25
2005-10-25
2005-10-26
2005-10-27
2005-10-27
2005-10-27
2005-10-27
2005-10-27
2005-10-27
2005-10-27
DateTime quoting in psycopg
2005-10-28
Re: Popularity of Quixote
Ian Bicking
2005-10-22
Michael Watkins wrote:
> Perhaps there is still some minor but useful value in having a tool that
> would spit out a nice file system hierarchy and a "run" script all tooled up
> to fire up the basic app using simple_server, i.e. something like:

Note that Paste Script is intended to this (among other things), and the
command would probably go like:

$ paster create --template=quixote

You could also create, say, a dulcinea template that required the
quixote template, thus created all the Quixote files as well, and added
the Dulcinea-specific files.  Myghty (latest release) is an example of a
project that has a couple different Paste templates, for different
levels of minimalism vs. completeness.  A template can be pretty simple,
just a bunch of files copied into place, potentially Cheetah templates
that will be filled (if the file ends with _tmpl).  It encourages, but
doesn't require, that the result be a setuptools project.

If it is a setuptools project, you can add project-specific commands
(like, say, "create-db").  Also if it is a setuptools project, it's
easier to make it usable with paste deploy, so you could do:

$ paster serve SomeApp/docs/test_config.ini

to start up the application with some testing configuration, probably a
builtin web server, etc.

Paste Script is described in:
  http://pythonpaste.org/script/
  http://pythonpaste.org/script/developer.html

--
Ian Bicking  |  ianb@colorstudy.com  |  http://blog.ianbicking.org
reply