« Squeak Web server » : différence entre les versions

De FrozenWiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(40 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Squeak 3.9 ==
== Package Repositories ==


=== Packages de base ===
=== SqueakMap ===
* Charger les 2 changesets pour corriger un bug lié aux polices tinyFont : [http://bugs.squeak.org/view.php?id=5309 Bug 5309]
* http://map.squeak.org/ - Official squeakmap
LangEnvBugs-wiz.2.st
LanguageEnvironmentAvailable.st
* Installer [http://map.squeak.org/package/d4f692a8-c7fa-4d49-927f-74aba7e8fd83 RemoteFrameBuffer] depuis SqueakMap (ignorer les erreurs de version)
* Installer ce [http://bugs.squeak.org/view.php?id=5043 ChangeSet] pour corriger une erreur avec RFB
* Mettre Squeakmap à jour
* A partir de Squeakmap, installer des packages utiles pour le développement
# Shout
# ShoutWorkspace
# eCompletion
* (Mettre à jour Monticello à partir du repository Monticello)


=== KomHttp ===
=== Squeaksource ===
Installer le repository Monticello suivant:
* http://www.squeaksource.com/ - Main and official repository
* http://source.squeak.org/ - Squeak development
* http://source.lukas-renggli.ch/ - Magritte, Pier, Omnibrowser
* http://croquet-src-01.oit.duke.edu:8886/ - CroquetSource
* http://www.hpi.uni-potsdam.de/hirschfeld/squeaksource/ - SqueakSVN, Seaside tutorial
* http://seaside.gemstone.com/ - Gemstone
* http://mc.aidaweb.si/ - AidaWeb
* http://squeaksource.frozenkiwi.net/ - Frozenkiwi personal squeaksource
* http://squeaksource.blueplane.jp/ - Japanese repository
 
=== Universes ===
* http://universes.dnsalias.net:8888/~universes/repositories/
* http://source.wiresong.ca/ob/ - Omnibrowser
* http://source.wiresong.ca/mc/ - Monticello
 
=== Package Universes ===
* Tout d'abord, installer le repository Monticello XML:
  MCHttpRepository
  MCHttpRepository
      location: 'http://www.squeaksource.com/KomHttpServer'
      location: 'http://www.squeaksource.com/XMLSupport'
      user: '''''''
      user: '''''''
      password: '''''''
      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


Depuis ce repository, utiliser ''Load'' pour installer la dernière version de ''KomHttpServer'' disponible. Les dépendances (''DynamicBindings'', ''KomServices'', ...) seront installées automatiquement.
Références:
* http://miguel.leugim.com.mx/index.php/2009/09/22/deploying-seaside-prepare-the-images/
* http://code.google.com/p/seaside/wiki/LoadOrder


=== Seaside ===
=== Cryptography ===
Installer le repository Monticello suivant:
Installer le module de support des hash MD5 et autres avec le repository Monticello:
  MCHttpRepository
  MCHttpRepository
       location: 'http://www.squeaksource.com/Seaside'
       location: 'http://www.squeaksource.com/Cryptography'
       user: '''''''
       user: '''''''
       password: '''''''
       password: '''''''


Depuis ce repository, utiliser ''Load'' pour installer la dernière version de ''Seaside2.8a1'' et la dernière version de ''Scriptaculous'' disponible.
== Serveur SqueakSource ==
Sur une version de Squeak [http://ftp.squeak.org/3.10/ 3.10], faire les installations des éléments suivants comme indiqué ci-dessus:
* Installer RemoteFrameBuffer
* Installer ce changeset pour corriger un bug lié à tempNamed : [http://bugs.squeak.org/view.php?id=5982 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 ==
== Autres options ==
* [http://damien.cassou.free.fr/squeak-web/ Squeak web]
* [http://damien.cassou.free.fr/squeak-web/ Squeak web]
* Utiliser une machine virtuelle Windows [http://squeakvm.org/win32/ 3.9] ou au delà pour éviter les bugs liés aux plugin Freetype
* Installer les packages suivants depuis Squeakmap:
# freetype plus
# freetype plus (plugin)
* Machines virtuelles pour Mac OSX [http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=johnmci&templatefn=FileSharing.html&xmlfn=TKDocument.1.xml&sitefn=RootSite.xml&aff=consumer&cty=US&lang=en]

Dernière version du 9 décembre 2010 à 14:46

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]