Add a new command to tg-admin to start up a TG app without the need of start-myapp.py.
This command should expose "paster serve"'s interface but be clever enough so that, when called inside an egg dir when developing, it can automatically boot the current app with no arguments or deployment config.
The command should also be able to receive a deployment config file as parameter to start up arbitrary paste.deployable apps.
Some examples:
tg-admin serve
Serves the app in the current directory (which should be a TG project)
tg-admin serve --reload
Same as the above but turns automatic reloading on (maybe enable by default in config-less mode since it is assumed to be used in dev. mode?)
tg-admin serve myapp.ini
Default way to start up a TG app from a deployment config. This command can be used in supervisord scripts, init.d scripts, etc... on a production site.
tg-admin serve --egg MySuperBlog prod.cfg
Refers to an app's egg and serves it using the specified TG-style config. An alternative way to boot an app which doesn't require a deployment config.
More syntax suggestions welcomed :)
This ticket is really easy to implement by someone familiar with tg.admin commands internals since it's a thin wrapper around "paster serve". Good food for sprint.
Alberto