[Radiant] basic newbie questions: Updating radiant and
installing
Loren Johnson
loren at fn-group.com
Fri Oct 20 15:58:09 CDT 2006
> <code> svn co http://dev.radiantcms.org/svn/radiant/tags/rel_0-5-2/ ~/
> radiant
> ~/radiant/radiant/bin/radiant ~/web/ <code />
> ...
> The second line in the command I'm not really sure...
> did It save the actual radiant app in the radiant folder ( ~/radiant/
> radiant/bin/radiant ) and then create an instance in the web
> directory? ( ~/web/ ) so that my website is running in instance
> mode? Or did I just download the full source of radiant and then made
> another copy for the web directory?
I believe you generated a copy of Radiant in instance mode. You would
have to use the --unpack option on the radiant command to get a full
app. However in ~/radiant you should have a full install.
> I'm going to have to install oliver's gallery and search behaviors
> and I'm confused as to where I have to do this or if its even
> possible on Textdrive. Do I install the plugin into my ( ~/web/ )
> directory or the ( ~/radiant/radiant/bin/radiant ) directory?
You probably want to create another instance of Radiant with the
--unpack parameter:
~/radiant/radiant/bin/radiant ~/web_full --unpack
Then copy the behaviors you mention into the ~/web_full/vendor/plugins
directory.
> In the future when I want to upgrade radiant to 1.0, etc. Do I svn
> another copy to my ( ~/radiant/radiant/bin/radiant ) directory and
> then do an --upgrade from my ( ~/web/ ) directory? Or will have i
> have to copy all the files over to ( ~/web/ ) again and import the
> DB?
You shouldn't need to import the DB, you can always point your
database.yml to your existing/previous db and then when you upgrade let
the migrations take care of any "upgrading".
I too find it confusing how to manage a clean upgrade path with Radiant
(or any full-scale Rails app which I also want to extend). My backup
plan is to 1) install a new release fresh, 2) point the database.yml to
the existing database name, 3) then run a "rake db:migrate" to catch it
up with any structural changes, and finally, 4) copy in any of my own or
other behavior plugins from my old install to the new vendor/plugins
directory.
Hope that helps.
Loren
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list