<div dir="ltr">Whoops, accidentally linked to my locally built docs. Here is the real link: <a href="http://girder.readthedocs.org/en/latest/plugin-development.html#extending-the-client-side-application">http://girder.readthedocs.org/en/latest/plugin-development.html#extending-the-client-side-application</a></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Zach Mullen<br>Kitware, Inc.<br>919-869-8858</div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 17, 2015 at 7:36 AM, Zach Mullen <span dir="ltr"><<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bastian,<br><br>The following section of the docs describes how to extend the web client application: file:///Users/zach/dev/girder/docs/_build/html/plugin-development.html#extending-the-client-side-application<br><br>To modify the title bar to make it say something other than "Girder", you'd add the following in your plugin's javascript:<br><br><br><font face="monospace, monospace">girder.wrap(girder.views.LayoutHeaderView, 'render', function (render) {<br> render.call(this);<br> this.$('.g-app-title').text('Foo');<br>});</font><br><br>To modify the front page logo, it's pretty similar:<br><br><font face="monospace, monospace">girder.wrap(girder.views.FrontPageView, 'render', function (render) {<br> render.call(this);<br> this.$('img.g-frontpage-logo').attr('src', '<a href="http://path/to/image/url'" target="_blank">http://path/to/image/url'</a>);<br>});</font><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">HTH,</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr">Zach Mullen<br>Kitware, Inc.<br><a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Tue, Nov 17, 2015 at 2:52 AM, bastil2001 <span dir="ltr"><<a href="mailto:bastil2001@yahoo.de" target="_blank">bastil2001@yahoo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Zach,<br>
<br>
I have the basic system running now. Regarding modifications it is
unclear to me how to modify start page and title bar (logo, ...).
Maybe you can provide some help with this. Thanks.<br>
<br>
Kind regards<br>
<br>
Bastian<div><div><br>
<br>
Am 15.11.2015 um 23:50 schrieb Zach Mullen:<br>
</div></div></div><div><div>
<blockquote type="cite">
<div dir="ltr">Modifying of both the front-end and back-end is
best achieved using Girder's plugin system. Development of
plugins is documented here:
<div><br>
</div>
<div><a href="http://girder.readthedocs.org/en/latest/plugin-development.html" target="_blank">http://girder.readthedocs.org/en/latest/plugin-development.html</a><br>
</div>
<div><br>
</div>
<div>If it's still unclear how to achieve what you want, please
ping this list so that we can provide help and improve the
documentation in the future.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">Zach Mullen<br>
Kitware, Inc.<br>
<a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Sun, Nov 15, 2015 at 5:45 PM,
bastil2001 <span dir="ltr"><<a href="mailto:bastil2001@yahoo.de" target="_blank">bastil2001@yahoo.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Zach,<br>
<br>
it is working now. The problem was an active firewall
"firewalld" on the CentOS 7 guest system. I will go on
with the system configuration now.<br>
Is there some documentation about how to modify the way
the start page looks like (logos, ...?).<br>
<br>
Regards Bastian
<div>
<div><br>
<br>
Am 15.11.2015 um 22:16 schrieb Zach Mullen:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">It should be reachable at 8080 on the
host... I typically use virtualbox in the context
of Vagrant, and in that case when I forward a port
out of the guest I am able to reach it at <a href="http://0.0.0.0:9080" target="_blank"></a><a href="http://0.0.0.0:9080" target="_blank">http://0.0.0.0:9080</a>
in the host. Sorry I can't be of more help, but
without having access to the VM in question it's
difficult for me to figure out exactly what might
be going wrong.</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">Zach Mullen<br>
Kitware, Inc.<br>
<a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Sun, Nov 15, 2015 at
3:58 PM, bastil2001 <span dir="ltr"><<a href="mailto:bastil2001@yahoo.de" target="_blank"></a><a href="mailto:bastil2001@yahoo.de" target="_blank">bastil2001@yahoo.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello Zach,<br>
<br>
I agree with your conclusion. However I am
struggeling with port forwarding and don't
know how to resolve this. Sorry this is a
virtualbox issue but I hope you can help
me either. Girder runs in the guest on <a href="http://0.0.0.0:8080" target="_blank"></a><a href="http://0.0.0.0:8080" target="_blank">http://0.0.0.0:8080</a>.
I defined a port forwarding from Guest
8080 to Host 8080. So Girder should be
reachable under <a href="http://0.0.0.0:8080" target="_blank">http://0.0.0.0:8080</a>
on the host, right? However, this gives me
nothing than an endlessly loading
webbrowser and a "page is not reachable"
at the end. I don't know how to debug
this.<br>
<br>
Bastian
<div>
<div><br>
<br>
Am 15.11.2015 um 19:39 schrieb Zach
Mullen:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hi Bastian,
<div><br>
</div>
<div>You won't need to install
anything on the host, if you can
access the start page from within
the guest that means it's running,
so it seems to be a simple issue
of port forwarding from guest to
host. In virtualbox, go to
Settings -> Network ->
Advanced -> Port Forwarding.
You should make sure that whatever
port you were able to access via
lynx in the guest is listed as the
guest port, and that it is mapped
to a port number in the host that
you have permission to bind to.
You'll probably need to restart
the VM before it will take effect.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">Zach Mullen<br>
Kitware, Inc.<br>
<a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Sun, Nov
15, 2015 at 5:55 AM, bastil2001 <span dir="ltr"><<a href="mailto:bastil2001@yahoo.de" target="_blank"></a><a href="mailto:bastil2001@yahoo.de" target="_blank">bastil2001@yahoo.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
all,<br>
<br>
I am currently tring girder. I
installed it on avirtualbox.
Host system<br>
is a Gentoo Linux, Guest is
CentOS 7. I followed the
documentation to<br>
get it running and it went fine.<br>
<br>
I Know the server is up, I can
see the start page using the
"lynx"<br>
command-based browser in the
guest. However, I am struggling
to access<br>
the server from my host.<br>
<br>
1. Do I have to install the
girder web client part on the
host?<br>
2. What network settings do I
need to route a default girder
to the<br>
host? I tried bridged network
and NAT with port forwarding of
port 8080<br>
without success.<br>
<br>
Thanks Bastian<br>
_______________________________________________<br>
Girder-users mailing list<br>
<a href="mailto:Girder-users@public.kitware.com" target="_blank">Girder-users@public.kitware.com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/girder-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/girder-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>