Installing Pharo with Seaside walkthrough

After downloading the one-click experience from the seaside.st site I wanted to make a developer image myself. I chose to write down my experienc, cause I had to find some stuff on the web which isn’t obvious to everyone.

What I did on my Windows platform:

  1. Load the pharo win32 setup from http://gforge.inria.fr/frs/?group_id=1299
    Look under the “Pharo Win32 Setup” section. Select the most recent version.
  2. Install the pharo image, it will start when you don’t uncheck the box run pharo in the end.
    Shows up as follows:

    Pharo after it starts up

    Pharo after it starts up

  3. Now you can update the pharo image: press left mouse button, select from the menu: Β  Tools -> Transcript
    Type in the transcript :Β  Utilities updateFromServer select it and press alt-d(o it). (also referred to as: evaluate <code>)
    After a while it will finish and you are up to date with your Pharo image.
  4. How to get seaside loaded into the image correctly?
    In the Transcript evaluate ScriptLoader loadSeaside30

    First I strolled around at http://www.seaside.st/download/squeak, but this lead only to older versions of Seaside (2.8.*) while I was looking for Seaside 2.9.*

    I found a mail thread on the web saying you should evaluate ScriptLoader loadSeaside30 in a workspace and Pharo will load seaside3.0 alpha. Neat !

  5. After the Seaside control panel shows up, right click on its top panel and add an adaptor. Choose a port (8080 is default) and press start, make sure you selected the adaptor before pressing start.
    Pharo_Seaside_Control_Panel_Adaptor
    When the adaptor finishes starting, open a webbrowser and enter http://localhost:8080/seaside. You should be seeing something like
    Testing_Seaside_Installation
  6. Done!

I hope this little walkthrough is helpful if you would like to setup your own Pharo with Seaside development environment.

Advertisements

8 responses to “Installing Pharo with Seaside walkthrough

  1. Hi Yuri,

    thanks for sharing this. I sometimes feel a bit lost in Squeak/Pharo about how to load code into the system. Do I use Monticello with a squeaksource HTTP-Repository or do I use some scriptLoader stuff or even older things like change sets?

    I was looking for some advice on how to setup a pharo image with the latest Seaside 3.0 code, so I sure know what I’ll do one of these rainy, cold southern german evenings πŸ˜‰

    cu

    Joachim

  2. If you want to optimize: πŸ˜‰

    1. Why use the INRIA page and scroll down to Pharo Win32 Setup. Its much easier:
    Just visit the Pharo download page (http://pharo-project.org/pharo-download)
    Scroll down to “Ready Made Setup” – there you will find the latest win32 setup

    3. Just right click on an empty area on the pharo desk and select
    “System” -> “Software Update”

  3. Pingback: How to set up Pharo with Seaside 3.0 « Joachims Small World

  4. Pingback: Installing Seaside in Pharo | experience WebProgramming

  5. Great article!

    I had the same problem like Joachim … wasn’t quite sure about the process of installing stuff in Pharo.
    Thanks for this little tutorial! πŸ™‚

  6. Had a problem diagnose as ‘ScriptLoader loadSeaside80
    The metho Gofer addPackage: has been deprecated.
    Instead of #addPackage: simply use #package’

    After I say proceed to the debug message, the rest of the installation seems Ok.

    Thanks

    A

  7. Pingback: A Remote Server “Deployed Hello World” with Squeak/Pharo, Seaside and Ubuntu Linux | Smalltalk Zen

  8. http://bestnaturalhealthsupplements.com

    I appreciate, result in I discovered just what I was taking a look for. You have ended my four day lengthy hunt! God Bless you man. Have a great day. Bye

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s