Radiant command without the gem

I remember John mentioning that once you had a full instance of
Radiant installed, you could then use the “radiant” command to
install further instances, just like using the gem. He said this
would be also useful if you had changed the version of Radiant you
were using, which is my case, now. Has anyone actually done this? I
jsut gave it a quick whirl, but couldn’t get it to work.

Keith B.
[email protected]

Keith B. wrote:

I remember John mentioning that once you had a full instance of Radiant
installed, you could then use the “radiant” command to install further
instances, just like using the gem. He said this would be also useful if
you had changed the version of Radiant you were using, which is my case,
now. Has anyone actually done this? I jsut gave it a quick whirl, but
couldn’t get it to work.

I’ve done it in testing. :slight_smile: How did it fail?

The way it works is you execute the radiant command in the bin dir of
the install you want to share code with. So if I have one project
running in application mode (i.e. it’s fully extracted) in the project1
dir and I want to create project2 which references the code in project1,
I do it like this:

% pwd
/Workspaces

% ls
project1

% project1/bin/radiant project2

… copies files to project2 …

% ls
project1 project2

% cat project2/config/instance.yml
Radiant Root: /Workspaces/project1


John L.
http://wiseheartdesign.com

Thanks John, I was just typing the path incorrectly. That works
perfectly.

Keith B.
[email protected]