Hi Offray

Thank you for answering and the new release. I will look at it in
detail. Here is a first feedback.

On 9/6/17, Offray Vladimir Luna Cárdenas <offray.l...@mutabit.com> wrote:
> Hi, Hannes,
>
> Sorry it took so long.

No problem. It was actually less than 14 days which is not long .....

:-)

> I'm now finishing my PhD and entering into a
> focused writing mode, so is difficult to keep with mailing lists these
> days.
>
> New version contains an example. Please load the ConfigurationOfBrea as
> showed in http://ws.stfx.eu/9MQGFUQ909BW and after that run:
>
> BreaWebsite example
>
> and visit
>
> - http://localhost:8080/demo/
> - http://localhost:8080/members/test
> - http://localhost:8080/members/add
>
> There are still some issues with CSS and data persistence must be
> implemented, but this should give you and overview of how to combine
> Teapot + Mustache.


I followed the instructions but encountered a problem that the class FossilRepo

BreaWebsite
fossilRepo
        ^ fossilRepo ifNil: [ fossilRepo := FossilRepo new ]


This made that

    BreaWebsite example

did not complete and thus there was no website.
Another thing is that the port number which is currently in

BreaWebsite>>server

server
        ^ server ifNil: [ server := Teapot configure: { #port ->8500 .
#debugMode -> true } ]

should be at a more prominent place so that it is easier to find and
thus configure.


Kind regards
Hannes

> Cheers,
>
> Offray
>
> On 23/08/17 13:44, H. Hirzel wrote:
>> On 8/23/17, Offray <offray.l...@mutabit.com> wrote:
>>> Hi,
>>>
>>> On the Teapot + Mustache integration, Hannes, you may want to see my
>>> early
>>> prototype:
>>>
>>> http://smalltalkhub.com/#!/~Offray/Brea
>>>
>>> At some point, it will contain distributed  wiki, backed by Fossil, now
>>> that
>>> we're thinking in empower community driven wiki like documentation.
>>>
>>> Offray
>>
>> Hi Offray
>>
>> I found Name: Brea-OffrayLuna.8
>> Author: OffrayLuna
>> Time: 1 June 2017, 4:18:20.860411 pm
>>
>> There is no test to show me how to use it and I none of the class
>> comments of the 4 classes gives enough clues.
>>
>>
>> Interesting method so far
>>
>> routes
>>      "I define how the website behaves accordingly to particular routes."
>>      self server
>>              serveStatic: 'demo' from: '/opt/gig/';
>>              GET: 'members/test' -> [ :req | BreaMember new 
>> renderTestUserAsHtml ];
>>              GET: 'members/add' -> [ :req | BreaMember new htmlInput ];
>>              POST: 'members/summit' -> [ :req |  self processNewMember: req ]
>>
>>
>> May I ask you to give a few hints how to start it?
>> Is it possible to use it without Fossil, just with image persistence?
>>
>> Regards
>> Hannes
>>
>>
>
>
>
>

Reply via email to