[Girder-users] Installation in virtualbox
Zach Mullen
zach.mullen at kitware.com
Tue Nov 17 07:36:45 EST 2015
Hi Bastian,
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
To modify the title bar to make it say something other than "Girder", you'd
add the following in your plugin's javascript:
girder.wrap(girder.views.LayoutHeaderView, 'render', function (render) {
render.call(this);
this.$('.g-app-title').text('Foo');
});
To modify the front page logo, it's pretty similar:
girder.wrap(girder.views.FrontPageView, 'render', function (render) {
render.call(this);
this.$('img.g-frontpage-logo').attr('src', 'http://path/to/image/url');
});
HTH,
Zach Mullen
Kitware, Inc.
919-869-8858
On Tue, Nov 17, 2015 at 2:52 AM, bastil2001 <bastil2001 at yahoo.de> wrote:
> Hello Zach,
>
> 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.
>
> Kind regards
>
> Bastian
>
>
> Am 15.11.2015 um 23:50 schrieb Zach Mullen:
>
> Modifying of both the front-end and back-end is best achieved using
> Girder's plugin system. Development of plugins is documented here:
>
> http://girder.readthedocs.org/en/latest/plugin-development.html
>
> 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.
>
> Thanks,
>
>
> Zach Mullen
> Kitware, Inc.
> 919-869-8858
>
> On Sun, Nov 15, 2015 at 5:45 PM, bastil2001 <bastil2001 at yahoo.de> wrote:
>
>> Hello Zach,
>>
>> 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.
>> Is there some documentation about how to modify the way the start page
>> looks like (logos, ...?).
>>
>> Regards Bastian
>>
>>
>> Am 15.11.2015 um 22:16 schrieb Zach Mullen:
>>
>> 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 <http://0.0.0.0:9080>
>> http://0.0.0.0:9080 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.
>>
>> Zach Mullen
>> Kitware, Inc.
>> 919-869-8858
>>
>> On Sun, Nov 15, 2015 at 3:58 PM, bastil2001 < <bastil2001 at yahoo.de>
>> bastil2001 at yahoo.de> wrote:
>>
>>> Hello Zach,
>>>
>>> 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
>>> <http://0.0.0.0:8080>http://0.0.0.0:8080. I defined a port forwarding
>>> from Guest 8080 to Host 8080. So Girder should be reachable under
>>> http://0.0.0.0:8080 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.
>>>
>>> Bastian
>>>
>>>
>>> Am 15.11.2015 um 19:39 schrieb Zach Mullen:
>>>
>>> Hi Bastian,
>>>
>>> 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.
>>>
>>> Thanks,
>>>
>>>
>>> Zach Mullen
>>> Kitware, Inc.
>>> 919-869-8858
>>>
>>> On Sun, Nov 15, 2015 at 5:55 AM, bastil2001 < <bastil2001 at yahoo.de>
>>> bastil2001 at yahoo.de> wrote:
>>>
>>>> Hello all,
>>>>
>>>> I am currently tring girder. I installed it on avirtualbox. Host system
>>>> is a Gentoo Linux, Guest is CentOS 7. I followed the documentation to
>>>> get it running and it went fine.
>>>>
>>>> I Know the server is up, I can see the start page using the "lynx"
>>>> command-based browser in the guest. However, I am struggling to access
>>>> the server from my host.
>>>>
>>>> 1. Do I have to install the girder web client part on the host?
>>>> 2. What network settings do I need to route a default girder to the
>>>> host? I tried bridged network and NAT with port forwarding of port 8080
>>>> without success.
>>>>
>>>> Thanks Bastian
>>>> _______________________________________________
>>>> Girder-users mailing list
>>>> Girder-users at public.kitware.com
>>>> http://public.kitware.com/mailman/listinfo/girder-users
>>>>
>>>
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/girder-users/attachments/20151117/544d5263/attachment.html>
More information about the Girder-users
mailing list