My formula for loading & starting Seaside in Squeak 5.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

My formula for loading & starting Seaside in Squeak 5.2

Tim Johnson-2
Hi,

In case anyone finds this useful, this is the DoIt that has worked for me to load (& start) Seaside in Squeak 5.2:


Installer ensureRecentMetacello.

(Smalltalk at: #Metacello) new
 baseline:'Seaside3';
 repository: 'github://SeasideSt/Seaside:master/repository';
 load.

(Installer ss3 project: 'WebClient')
        install: 'WebClient-Seaside-Adaptor'.
       
"Optionally use the control panel to add adaptor, start and to set encoding"
"WAControlPanel open."

"do the above but without using the GUI"
((Smalltalk at: #WAWebServerAdaptor) port: 8080)
        codec: ((Smalltalk at: #GRCodec) forEncoding: 'utf-8');
        start.



The codec is optional – but the above allows me to put emojis into my components, like:

crayon
        ^ WideString fromPacked: 128397

renderContentOn: html
        html text: self crayon.


Thanks to everybody whose hard work has kept this going!

Tim J


Reply | Threaded
Open this post in threaded view
|

Re: My formula for loading & starting Seaside in Squeak 5.2

David T. Lewis
Thanks Tim, much appeciated.

I am getting failures on the Metacello load. Our SqueakMap entry
is the same as the line in Tim's script below, and it seems to be
failing when retrieving something from GitHub. I don't know the
mechanism here.

Is it just me? Or is loading Metacello broken?

Dave


On Sat, Oct 20, 2018 at 10:33:36PM -0700, Tim Johnson wrote:

> Hi,
>
> In case anyone finds this useful, this is the DoIt that has worked for me to load (& start) Seaside in Squeak 5.2:
>
>
> Installer ensureRecentMetacello.
>
> (Smalltalk at: #Metacello) new
>  baseline:'Seaside3';
>  repository: 'github://SeasideSt/Seaside:master/repository';
>  load.
>
> (Installer ss3 project: 'WebClient')
> install: 'WebClient-Seaside-Adaptor'.
>
> "Optionally use the control panel to add adaptor, start and to set encoding"
> "WAControlPanel open."
>
> "do the above but without using the GUI"
> ((Smalltalk at: #WAWebServerAdaptor) port: 8080)
> codec: ((Smalltalk at: #GRCodec) forEncoding: 'utf-8');
> start.
>
>
>
> The codec is optional ??? but the above allows me to put emojis into my components, like:
>
> crayon
> ^ WideString fromPacked: 128397
>
> renderContentOn: html
> html text: self crayon.
>
>
> Thanks to everybody whose hard work has kept this going!
>
> Tim J
>
>

Reply | Threaded
Open this post in threaded view
|

Re: My formula for loading & starting Seaside in Squeak 5.2

David T. Lewis
Apologies, please disregard. Indeed it was just me, disk full.

Sorry for the noise.

Dave


On Sun, Oct 21, 2018 at 09:54:26AM -0400, David T. Lewis wrote:

> Thanks Tim, much appeciated.
>
> I am getting failures on the Metacello load. Our SqueakMap entry
> is the same as the line in Tim's script below, and it seems to be
> failing when retrieving something from GitHub. I don't know the
> mechanism here.
>
> Is it just me? Or is loading Metacello broken?
>
> Dave
>
>
> On Sat, Oct 20, 2018 at 10:33:36PM -0700, Tim Johnson wrote:
> > Hi,
> >
> > In case anyone finds this useful, this is the DoIt that has worked for me to load (& start) Seaside in Squeak 5.2:
> >
> >
> > Installer ensureRecentMetacello.
> >
> > (Smalltalk at: #Metacello) new
> >  baseline:'Seaside3';
> >  repository: 'github://SeasideSt/Seaside:master/repository';
> >  load.
> >
> > (Installer ss3 project: 'WebClient')
> > install: 'WebClient-Seaside-Adaptor'.
> >
> > "Optionally use the control panel to add adaptor, start and to set encoding"
> > "WAControlPanel open."
> >
> > "do the above but without using the GUI"
> > ((Smalltalk at: #WAWebServerAdaptor) port: 8080)
> > codec: ((Smalltalk at: #GRCodec) forEncoding: 'utf-8');
> > start.
> >
> >
> >
> > The codec is optional ??? but the above allows me to put emojis into my components, like:
> >
> > crayon
> > ^ WideString fromPacked: 128397
> >
> > renderContentOn: html
> > html text: self crayon.
> >
> >
> > Thanks to everybody whose hard work has kept this going!
> >
> > Tim J
> >
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: My formula for loading & starting Seaside in Squeak 5.2

Hannes Hirzel
In reply to this post by Tim Johnson-2
Hi Tim

Based on your script I did a SqueakMap entry for Seaside 3.2.2 in Squeak 5.2

Also see http://wiki.squeak.org/squeak/2774

However https://github.com/SeasideSt/Seaside reports failure for 5.2

But so far Seaside works fine for me.

Regards
Hannes

On 10/21/18, Tim Johnson <[hidden email]> wrote:

> Hi,
>
> In case anyone finds this useful, this is the DoIt that has worked for me to
> load (& start) Seaside in Squeak 5.2:
>
>
> Installer ensureRecentMetacello.
>
> (Smalltalk at: #Metacello) new
>  baseline:'Seaside3';
>  repository: 'github://SeasideSt/Seaside:master/repository';
>  load.
>
> (Installer ss3 project: 'WebClient')
> install: 'WebClient-Seaside-Adaptor'.
>
> "Optionally use the control panel to add adaptor, start and to set encoding"
> "WAControlPanel open."
>
> "do the above but without using the GUI"
> ((Smalltalk at: #WAWebServerAdaptor) port: 8080)
> codec: ((Smalltalk at: #GRCodec) forEncoding: 'utf-8');
> start.
>
>
>
> The codec is optional – but the above allows me to put emojis into my
> components, like:
>
> crayon
> ^ WideString fromPacked: 128397
>
> renderContentOn: html
> html text: self crayon.
>
>
> Thanks to everybody whose hard work has kept this going!
>
> Tim J
>
>
>