Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Loading Seaside onto Pharo 2.0

Tags:

seaside

pharo

Pharo 2.0 was released recently. I downloaded it, and tried running this:

Gofer new
    squeaksource: 'MetacelloRepository';
    package: 'ConfigurationOfSeaside30';
    load.
(Smalltalk at: #ConfigurationOfSeaside30) load.

It completed but it didn't create a 'Seaside Control Panel' menu option in the Tools submenu of the World menu.

What are the next steps to take?

like image 401
xofz Avatar asked Apr 24 '13 17:04

xofz


1 Answers

The control panel was built using OB, which is not available anymore for Pharo 2.0

Therefore, you need to start an adaptor programmatically. In Pharo 2.0, the default adaptor has become the Zinc adaptor. You can start it by executing the following expression:

ZnZincServerAdaptor startOn: 8080

This starts the adaptor on port 8080.

like image 146
Johan B Avatar answered Oct 13 '22 11:10

Johan B