有谁知道(也许是所有相关步骤)如何在 Windows 7 上运行/安装 Wraith?
文档(http://bbc-news.github.io/wraith/index.html#安装 http://bbc-news.github.io/wraith/index.html#Installation)不幸的是非常模糊。
提前致谢
Martin
所需下载:
- https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-windows.zip https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-windows.zip
- http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p481.exe?direct http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p481.exe?direct
- http://cdn.rubyinstaller.org/archives/devkits/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe http://cdn.rubyinstaller.org/archives/devkits/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
- http://www.imagemagick.org/download/binaries/ImageMagick-6.8.9-1-Q16-x64-dll.exe http://www.imagemagick.org/download/binaries/ImageMagick-6.8.9-1-Q16-x64-dll.exe
- https://github.com/BBC-News/wraith/archive/master.zip https://github.com/BBC-News/wraith/archive/master.zip
安装:
- 安装ImageMagick
- 在各个文件夹中解压 PhantomJs
- 使用 RubyInstaller 安装 Ruby
- 解压 Ruby DevKit
- 将 Wraith 解压到某个文件夹
路径变量:
- \ImageMagick
- \PhantomJs
- \Ruby200\bin
命令行:
- 转到 Wraith 文件夹
- 调用“gem install wraith”
- 调用“幽灵设置”
- 享受幽灵
可以在文件 config.yaml 中更改配置
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)