Radiant as a Gem

I spent some time this evening working through most of what we will need
to distribute Radiant as a gem. The following patch creates a radiant
command which is very similar to the rails command.

http://dev.radiantcms.org/radiant/attachment/ticket/16/radiant_command.diff

Typing:

radiant .

Will create an Radiant application which will run in “instance” mode in
the current directory.

Typing:

radaint -t app .

Will create a fully extracted Radiant application which will run in
“application” mode. The difference between “instance” mode and
“application” mode is that “instance” mode creates the application with
a minimal number of files that depends on another Radiant application.
This will be very useful when Radiant is distributed as a gem because
you will be able to have the code base installed once, and multiple
sites that reference that same code base as instances.

If you can, please apply the patch and give it a go. I’m still pushing
to release the first version of Radiant this week. So any feedback you
can give on this feature would be much appreciated.


John L.
http://wiseheartdesign.com