4

我想在 Heroku 上运行一个带有“spiderable”包的 Meteor.js 应用程序。是否有 buildpack 或其他任何东西可以在 Heroku 上部署它?(需要 PhantomJS)

4

2 回答 2

1

这个 buildpack(我写的)适用于 Meteor > 0.9.3 并且包括 phantomjs:

https://github.com/AdmitHub/meteor-buildpack-horse

于 2014-10-10T15:40:25.647 回答
-1

I don't know how you're stuck with this, since in practice it's pretty straightforward to install an NPM module as shown in this guide. You only need to swap underscore in that example with phantomjs.

A very good buildpack to use is oortcloud's meteorite buildpack. I've used the meteor-only buildpack, but I've encountered way to many issues with it, but with the aforementioned I have had no problems with it so far.

As for the spiderable package, meteor add spiderable.

Fair warning though: running Meteor on Heroku requires alot of research on how to actually run your app, especially with providing correct environment variables. If you will have a problem with that, this would probably not a good place to discuss any of that.

On a side note: Next time, I implore you to be a little more clear about your problem and specify what your goals really are, and what have you tried so far. Seriously, who upvotes these things?

于 2013-05-10T15:04:41.567 回答