[英]Where can I find a Pharo+Seaside3+Magritte image for experimenting with the “An Introduction to Seaside” book?
我在哪里可以找到Pharo图像来运行本书中的代码: http : //www.swa.hpi.uni-potsdam.de/seaside/tutorial
搜寻了Pharo替代品的邮件列表,它们应该是http://www.lukas-renggli.ch/job/Magritte%202/ ,然后移动了http://source.lukas-renggli.ch/但我我无法确定。
打印版本(使用旧的Seaside 2.8.4)引用了Squeak图像,该图像应该在此处提供: http : //www.seaside.st/download/squeak#167943699
据我所知,搬到别的地方了吗? 找到可以正常使用的Squeak图像http://ftp.squeak.org/various_images/seaside/Squeak4.1/,但无法确定它们是否正确。
谢谢!
本教程在编写时就牢记了Squeak,应该适用于Seaside 3。
您可以按照Squeak网站( http://squeak.org/projects/#seaside )的安装说明,在Squeak映像中安装Seaside。
可以在http://ftp.squeak.org/4.4/seaside/上的Squeak文件服务器上找到带有Seaside的最新预构建Squeak映像(带有Seaside 3.0.8的Squeak 4.4)。
在撰写本文时,正在准备基于Squeak 5和Seaside 3.2的最新图像。
[编辑]
在Squeak 4.5、4.6或5.0中执行以下操作以获取当前的Metacello(摘自https://github.com/dalehenrich/metacello-work ):
"Get the Metacello configuration (for Squeak users)"
Installer gemsource
project: 'metacello';
addPackage: 'ConfigurationOfMetacello';
install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project
version: #'previewBootstrap') load.
"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
configuration: 'MetacelloPreview';
version: #stable;
repository: 'github://dalehenrich/metacello-work:configuration';
load.
"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
get.
(Smalltalk at: #Metacello) new
baseline: 'Metacello';
repository: 'github://dalehenrich/metacello-work:master/repository';
load.
然后,以下将安装Seaside + Magritte
Metacello new
configuration: 'Seaside3';
repository: 'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
version: #stable;
load: 'OneClick'.
Metacello new
configuration: 'Magritte3';
repository: 'http://www.smalltalkhub.com/mc/Magritte/Magritte3/main';
version: #stable;
load: 'Magritte-Seaside'.
在第4和第5阶段中,请使用Tobias回答的最后部分首先加载Seaside,然后加载Magritte。 Pharo默认情况下已加载Metacello。
加载后,打开Seaside控制面板以添加适配器(ZnZincServerAdaptor),然后启动它。
在pharo贡献ci上,已经加载了Magritte和Seaside的多个版本(例如QCMagritte)
在这里试试这个: https : //ci.inria.fr/pharo-contribution/job/PharoWeb/PHARO=50,VERSION=stable,VM=vm/lastSuccessfulBuild/artifact/PharoWeb.zip
将此图像与pharo 5.0虚拟机一起使用。 您可以从pharo网站获得它。
这是Pharo MOOC的一部分: http : //files.pharo.org/mooc/ 。 我强烈建议您参加此MOOC。 这对我帮助很大。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.