Erik van Oosten wrote:
> Instance mode is the mode where the whole Radiant code is copied into
> your project?
No. Application mode is where you are running straight off the source.
> If I understand correctly, instance mode is required to develop
> extensions (which I intend to to). Or are there other means?
No. Instance mode is not required to develop extensions.
> I am sorry, its all a bit vague to me. Perhaps I have not yet seen the
> right documentation. Or perhaps there are just too many options :)
The documentation for it is a bit poor. Instance mode is what you get
when you install radiant from a gem and run:
% radiant /path/to/my/project
To create the default structure for your site. The main benefit to
instance mode is that the source code for Radiant can reside in the gem
but the Radiant project contains all of your configuration. This makes
it easy to upgrade. In the future the upgrade process will be as simple as:
1. Install the new gem:
% gem update radiant
2. Update your config/environment.rb so that it uses the latest gem.
3. Update your radiant project:
% rake radiant:update
4. Run any migrations:
% rake production db:migrate
The other way of installing Radiant is known as "Application" mode.
Application mode is what you get when you install Radiant by extracting
the source into your project directory. If you install Radiant this way
you will be on your own when it comes to upgrading your version of
Radiant. Because of this instance mode is the recommended way of
installing Radiant.
> What would be the appropriate way to operate when you want to develop an
> extension which will be available for others, potentially through svn,
> but definitely through some other way (gem?)? (Perhaps important: I
> still did not have time to finish my svn setup.)
You can develop extensions in instance mode or application mode. To get
started just run the following command from your project root:
% script/generate MyExtensionName
--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant