开发者

Package rails app as gem or something else reusable?

开发者 https://www.devze.com 2023-02-08 10:15 出处:网络
I\'m looking for a guide on how to package a rails app as a gem or something reusable like that.. At work we build a lot of client rails apps where wordpress is too bloggy(and php) and radient and th

I'm looking for a guide on how to package a rails app as a gem or something reusable like that..

At work we build a lot of client rails apps where wordpress is too bloggy(and php) and radient and the other ruby cms's seem a little clunky to fit them perfectly..

So im building (you guessed it) yet another CMS for simple sites using the common factors ive seen across multiple sites..

What would be perfect would be, being able to say

$: MyCMSName new sitename

To setup the common defaults, and then:

$: rails g MyC开发者_运维技巧MSName:downloads

Or

$: rails g MyCMSName:galleries

Also it would also be nice to say:

$: MyCMSName new sitename --with-galleries --with-downloads


This is the way RefineryCMS works.

Rather than wasting your time creating yet another CMS, I suggest you download the source and help in development.

There are a few rails engine extensions available too, including a gallery. The main developer is open to pull requests and can often be found on irc.

0

精彩评论

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