oh and once you've created a radiant from an older version (or edge) you probably want to freeze it with `rake radiant:freeze:edge TAG=0.7.1` or whatever
On Mon, Oct 12, 2009 at 3:35 PM, john muhl <[email protected]> wrote: > On Mon, Oct 12, 2009 at 3:02 PM, Nate Turnage <[email protected]> wrote: >> On Mon, Oct 12, 2009 at 2:45 PM, Dayne Broderson >> <[email protected]>wrote: >>> [dbrod...@beef ~]$ gem environment >>> ... >>> [dbrod...@beef ~]$ /usr/local/lib/ruby/gems/1.8/gems/radiant-0. >>> radiant-0.6.9/ radiant-0.7.0/ radiant-0.7.1/ radiant-0.8.1/ >>> [dbrod...@beef ~]$ >>> /usr/local//ib/ruby/gems/1.8/gems/radiant-0.7.1/bin/radiant >> >> That's pretty easy? :^O >> >> I guess it's not that difficult, but I could have sworn there was an easier >> way. Something like this: >> radiant -v=0.7.1 --database [mysql] project >> >> That of course doesn't work, but I thought there was something easy like >> that. I could be wrong, probably am. > > i've found the following to be pretty easy to use once it's setup. > > - clone the latest radiant source to somewhere in your home directory; > i use ~/.radiant > > git clone git://github.com/radiant/radiant.git ~/.radiant > > - add aliases to your ~/.bashrc file (or ~/.profile or whatever) such as: > > alias radiant-0.6.8="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.6.8 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-0.6.9="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.6.9 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-0.7.0="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.7.0 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-0.7.1="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.7.1 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-0.8.0="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.8.0 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-0.8.1="PWD=`pwd` && cd ~/.radiant && git checkout -q > 0.8.1 && cd $PWD && ~/.radiant/bin/radiant" > alias radiant-edge="PWD=`pwd` && cd ~/.radiant && git checkout -q > master && cd $PWD && ~/.radiant/bin/radiant" > > (http://gist.github.com/208708 in case the mailing list mangles the > line endings) > > - reload your .bashrc (or .profile or whatever you edited); i.e. > `source ~/.bashrc` > > you can test them by running commands like `radiant-0.7.1 --version` > and `radiant-0.8.1 --version` > > you may see errors having to do with submodules but those are harmless > for the use of simply being able to generate new sites from any > version of radiant. > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
