On 29 February 2016 at 00:17, Sam Ruby <ru...@intertwingly.net> wrote:
> On Sun, Feb 28, 2016 at 4:56 PM, sebb <seb...@gmail.com> wrote:
>> On 28 February 2016 at 21:28, Sam Ruby <ru...@intertwingly.net> wrote:
>>> So you went straight for the advanced instructions. Cool.
>>>
>>> Did you try rake server?
>>
>> No.
>>
>> I did not understand what constituted a Rack application.
>> But I see that www/roster has a Rakefile so I have just tried
>>
>> cd /www/roster
>> rake server
>>
>> and I can now see the roster index and can use the committers page
>
> Sweet!
>
>>> Which index page are you referring to?  The problem looks to be one that
>>> can be solved be the use of relative URLs.  If you tell me which index
>>> page, I'll take a look when I get back home.
>>
>> The main one, i.e. whimsy.apache.org
>
> Now I understand.  Should you ever want to set up the whole site to
> run under Apache httpd, you would need to follow the instructions to
> configure the rack applications (now that you know how to identify
> them) using Phusion Passenger.

I thought I *had* configured www/roster; see my posting from 21:07 (else-thread)

How should I have done it?

> Meanwhile, running individual
> applications when you need them is much easier.

So why would one need to set up the whole site for development?

>>> I do have a vagrant image and a docker image that you can spin up locally.
>>> But you shouldn't need to install the whole site to get one tool working.
>>
>>> That's why I suggest you look at rake server first.
>>> On Feb 28, 2016 4:07 PM, "sebb" <seb...@gmail.com> wrote:
>>>
>>>> On 28 February 2016 at 20:11, Sam Ruby <ru...@intertwingly.net> wrote:
>>>> > Whatever is blocking you from testing this change is the bug I would like
>>>> > to work on.
>>>>
>>>> I cannot get Whimsy working locally.
>>>>
>>>> I have got as far as seeing the index page but nothing else works.
>>>>
>>>> e.g.
>>>>
>>>> The requested URL /roster/committer/ was not found on this server.
>>>>
>>>> I added what I thought was the correct config and restarted Apache:
>>>>
>>>>     Alias /whimsy/roster/committer/ /srv/whimsy/www/roster/committer
>>>>     <Location /whimsy/roster/committer>
>>>>         PassengerBaseURI /whimsy/roster/committer
>>>>         PassengerAppRoot /srv/whimsy/www/roster/committer
>>>>         PassengerAppEnv development
>>>>         Options -Multiviews
>>>>     </Location>
>>>>
>>>> ==
>>>>
>>>> It was a lot easier when there was a test installation.
>>>> I think we should consider having a shared test installlation which is
>>>> auto-updated from a different Git branch.
>>>> Anything else is going to be a big barrier for new developers.
>>>>
>>>> > On Feb 28, 2016 2:21 PM, "sebb" <seb...@gmail.com> wrote:
>>>> >
>>>> >> I have two PGP keys which display concatenated.
>>>> >>
>>>> >> I think the following patch will fix it, but cannot test it:
>>>> >>
>>>> >>
>>>> >> diff --git a/www/roster/views/committer.js.rb
>>>> >> b/www/roster/views/committer.js.rb
>>>> >> index 93ac1af..27856d2 100644
>>>> >> --- a/www/roster/views/committer.js.rb
>>>> >> +++ b/www/roster/views/committer.js.rb
>>>> >> @@ -104,8 +104,12 @@
>>>> >>
>>>> >>        if @committer.pgp
>>>> >>          _tr do
>>>> >> -          _td 'PGP key'
>>>> >> -          _td @committer.pgp
>>>> >> +          _td 'PGP keys'
>>>> >> +          _td do
>>>> >> +            _ul @committer.pgp do |key|
>>>> >> +              _li {key}
>>>> >> +            end
>>>> >> +          end
>>>> >>          end
>>>> >>        end
>>>> >>
>>>>

Reply via email to