Phantomjs与Google App Engine集成 [英] Phantomjs integration with Google App Engine

查看:123
本文介绍了Phantomjs与Google App Engine集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想知道是否可以在Google App Engine上运行phantomjs。

我的使用案例是使用Phantomjs使用cron作业拍摄GAE上提供的html页面的快照。



以前是否已完成此项工作?

解决方案

Google App Engine支持许多语言运行时(Java,Python,PHP和Go),但您可以使用托管虚拟机的功能,以在Docker容器(例如PhantomJS)中运行任何内容,并且您还可以使用

作为参考,这里是在托管虚拟机上运行Node.js的教程,以帮助您指引正确的方向。


Hi I like to know if it is possible to run phantomjs on Google App Engine.

My use case is to use Phantomjs to take snapshots of html pages served on GAE using a cron job.

Has this been done before ?

解决方案

Google App Engine supports a number of language runtimes (Java, Python, PHP and Go), but you can use the Managed VMs feature of Google App Engine to run anything in a Docker container (such as PhantomJS), and you can also use Google Compute Engine to get a VM where you can also install anything you would like, in any language.

For reference, here's a tutorial for running Node.js on Managed VMs to help guide you in the right direction.

这篇关于Phantomjs与Google App Engine集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆