How is the paster.py running to start Galaxy Framework ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How is the paster.py running to start Galaxy Framework ?

wangdan
Hello, Galaxy developers:
I'm a galaxy user and have customized a Galaxy instance locally. I'm
very interested in Galaxy framework and the way it's running. I've
search over the doc from readthedocs and look through some source code
files. But I'm confused at first: How to run paster.py to start all
process to build a Galaxy server? I've no idea why the last line of code
"command.run()" can start the whole Galaxy server and thanks for someone
to point it out.
Thanks for your help!
wangdan

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: How is the paster.py running to start Galaxy Framework ?

James Taylor
Recent versions of Galaxy no longer use PasteScript at all, you seem
to be looking at a fairly old version.

Currently, scripts/paster.py calls lib/galaxy/util/pastescript/serve.py

The "run" method in that module users PasteDeploy to load everything
that is specified in the universe_wsgi.ini. Specifically, calling
buildapp for the web application which starts all of the other Galaxy
components.

--
James Taylor, Assistant Professor, Biology/CS, Emory University


On Sun, May 12, 2013 at 3:11 AM, ็Ž‹่ƒDon <[hidden email]> wrote:

> Hello, Galaxy developers:
> I'm a galaxy user and have customized a Galaxy instance locally. I'm
> very interested in Galaxy framework and the way it's running. I've
> search over the doc from readthedocs and look through some source code
> files. But I'm confused at first: How to run paster.py to start all
> process to build a Galaxy server? I've no idea why the last line of code
> "command.run()" can start the whole Galaxy server and thanks for someone
> to point it out.
> Thanks for your help!
> wangdan
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   http://lists.bx.psu.edu/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/