Squeak Web server

De FrozenWiki

Package Repositories

SqueakMap

Squeaksource

Universes

Package Universes

  • Tout d'abord, installer le repository Monticello XML:
MCHttpRepository
     location: 'http://www.squeaksource.com/XMLSupport'
     user: ''
     password: ''
  • Installer le repository Monticello suivant:
MCHttpRepository
     location: 'http://www.squeaksource.com/universes'
     user: ''
     password: ''

Squeak 4.2

Set preferences & Update to latest version

Preferences enable: #fastDragWindowForMorphic.
Preferences disable: #windowAnimation.
Preferences enable: #updateSavesFile.
Preferences disable: #windowAnimation.
Utilities updateFromServer.
Utilities setAuthorInitials.

Completion

Installer ss
	project: 'RoelTyper';
	install: 'RoelTyper';
	project: 'OCompletion';
	install: 'ECompletion-djr.squeaktrunk.103';
	install: 'Ocompletion'.

or (OCompletion officially compatible with Squeak 4.1/4.2):

Installer squeaksource
	project: 'RoelTyper';
	install: 'RoelTyper-FredericPluquet.82';
	project: 'OCompletion';
	install: 'OcompletionSqueakCompatibility-ul.1';
	install: 'Ocompletion-ul.67'.

Remote FrameBuffer

Installer ss
	project: 'RFB';
	install: 'RFB'.
RFBServer setFullPassword.

Et ensuite, modifier la méthode RFBServer class >> shutdown:quitting pour ne pas afficher le message, ni stopper le serveur quand squeak quitte.

KomHTTP

Installer ss
	project: 'KomHttpServer';
	install: 'DynamicBindings';
	install: 'KomServices';
	install: 'KomHttpServer'.

Seaside 2.8

Installer ss
	project: 'Seaside';
	install: 'Seaside2.8a1';
	install: 'Scriptaculous'.

Seaside 3.0 Core

Installer ss
	project: 'Seaside30';
	install: 'Grease-Core';
	install: 'Grease-Pharo-Core';
	install: 'Seaside-Core';
	install: 'Seaside-Pharo-Core';
	install: 'Seaside-Canvas';
	install: 'Seaside-Pharo-Canvas';
	install: 'Seaside-Session';
	install: 'Seaside-Component';
	install: 'Seaside-RenderLoop';
	install: 'Seaside-Tools-Core';
	install: 'Seaside-Widgets';
	install: 'Seaside-Environment';
	install: 'Seaside-Pharo-Environment'.
Installer ss
	project: 'Seaside30'; 
	install: 'Seaside-Adaptors-Comanche'.

Seaside 3.0 Traditional Tools

Installer ss
	project: 'Seaside30';
	install: 'Seaside-Pharo-Continuation';
	install: 'Seaside-Flow';
	install: 'Seaside-Pharo-Flow';
	install: 'Seaside-Tools-Web';
	install: 'Seaside-Pharo-Tools-Web';
	install: 'Seaside-Development';
	install: 'Seaside-Pharo-Development';
	install: 'Seaside-Examples'.
WAKom startOn: 8888.

Seaside 3.0 Welcome Package

Installer ss
	project: 'Seaside30';
	install: 'Seaside-Squeak-Welcome';
	install: 'Seaside-Welcome'.

Seaside 3.0 Core Test Suite

Installer ss 
	project: 'Seaside 3.0'; 
	install: 'Grease-Tests-Core'; 
	install: 'Grease-Tests-Pharo-Core'; 
	install: 'Seaside-Tests-Core'; 
	install: 'Seaside-Tests-UTF8'; 
	install: 'Seaside-Tests-Pharo-Core'; 
	install: 'Seaside-Tests-Canvas'; 
	install: 'Seaside-Tests-Session'; 
	install: 'Seaside-Tests-Component'; 
	install: 'Seaside-Tests-RenderLoop'; 
	install: 'Seaside-Tests-Environment';
Installer ss 
	install: 'Seaside-Tests-Adaptors-Comanche'; 

Seaside 3.0 Traditional Tools Test Suite

Installer ss
	install: 'Seaside-Tests-Functional'; 
	install: 'Seaside-Tests-Pharo-Functional'; 
	install: 'Seaside-Tests-Pharo-Continuation'; 
	install: 'Seaside-Tests-Flow'; 
	install: 'Seaside-Tests-Tools-Web'; 
	install: 'Seaside-Tests-Development'; 
	install: 'Seaside-Tests-Pharo-Development'; 
	install: 'Seaside-Tests-Examples'; 

Magritte

Installer lukas
	project: 'magritte';
	install: 'Magritte-All'.

Pier

depends on Seaside and Magritte.

Installer lukas
	project: 'pier';
	install: 'Pier-All'.

Magma

Installer ss
	project: ‘Magma’;
	install: ‘1.0r42 (server)’.

Seaside 3.0 Cleanup

“Unregister example apps”
WADispatcher default trimForDeployment. 
“Unregister deployed apps” 
WADispatcher default 
unregister: (WADispatcher default entryPointAt: ‘/browse’); 
unregister: (WADispatcher default entryPointAt: ‘/config’). 
“Save with a new name” 
SmalltalkImage current saveAs: ’seaside’. 
SmalltalkImage current snapshot: true andQuit: true. 
  • Il est possible de tester le status de serveur HTTP via la commande
HttpService allInstances explore

Références:

Cryptography

Installer le module de support des hash MD5 et autres avec le repository Monticello:

MCHttpRepository
      location: 'http://www.squeaksource.com/Cryptography'
      user: ''
      password: ''

Serveur SqueakSource

Sur une version de Squeak 3.10, faire les installations des éléments suivants comme indiqué ci-dessus:

  • Installer RemoteFrameBuffer
  • Installer ce changeset pour corriger un bug lié à tempNamed : Bug 5982
  • Installer KomHTTP, Seaside et Scriptaculous

Puis installer les packages supplémentaires suivants:

Installer ss
	project: 'SmaccDevelopment';
	install: 'SmaCC';
	project: 'XMLSupport';
	install: 'XMLParser';
	project: 'rsrss';
	install: 'RSRSS2'.
Installer lukas
	project: 'announcements';
	install: 'Announcements';
	project: 'magritte';
	install: 'Magritte-Model';
	install: 'Magritte-Seaside';
	install: 'Magritte-Tests'.
Installer ss
	project: 'ss2';
	install: 'TinyWiki-pmm.16';
	install: 'SqueakSourceSeaside2.8';
	install: 'SqueakSource'.

Autres options

  • Utiliser une machine virtuelle Windows 3.9 ou au delà pour éviter les bugs liés aux plugin Freetype
  • Installer les packages suivants depuis Squeakmap:
  1. freetype plus
  2. freetype plus (plugin)
  • Machines virtuelles pour Mac OSX [1]