开发者

Migrate existing ROR app to GAE

I have managed to run a basic rails app1 on App Engine using: http://gist.github.com/268192

So, on my basic app2, I install CE, which works fine on local machine. (communityengine.org)

But, when I follow the same steps on my actual app2, where community_engine plugin is installed and all the gems are frozen, the app engine installer script asks for to over write various files like boot.rb, routes.rb, which I don't allow.

So, as开发者_开发技巧 expected, when I publish the rails + ce app to GAE, it's not published and it also screws the local installation of CE on app2.

So, the problem is obvious, CE uses ActiveRecord, and GAE uses DataMapper.

So, my question can also be rephrased as: Can we migrate an existing ROR App using Active Record to GAE which uses DataMapper?

PS: This is my first project on ROR and GAE.


You could certainly port CE to use DataMapper, but it being a Rails Engine it would probably be more fitting to keep it as an ActiveRecord-based project. The comment about Heroku is sound. You'll find much better support, and most of the time, things Just Work(tm). Give Heroku a try.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜