Downloading using Recipes?

Topics: General, Installing Orchard
Jul 11, 2011 at 9:05 PM

Hi,

Is it possible to use the Recipes to both DOWNLOAD and INSTALL a module during Setup?

In the documentation: http://www.orchardproject.net/docs/Making-a-Web-Site-Recipe.ashx#Creating_a_Custom_Recipe_2

it says that "The following example shows how to start with the default recipe (default.recipe.xml) and add the Bing.Maps module and a theme, both of which will be downloaded and enabled during setup."

If I enable a feature that is not already downloaded to the module (here the module "Orchard.CodeGeneration") folder I get an error:

"The following exception was thrown: Could not enable feature Orchard.CodeGeneration because it was not found.. Refer to the recipe journal for more information"

The Recipe journal does not give me more information:

<RecipeJournal>
  <Status>Failed</Status>
  <Message>Executing step Feature.</Message>
</RecipeJournal>

Does Recipes support downloading Modules from a gallery?

Thanks!

Regard,
Anders

Coordinator
Jul 11, 2011 at 9:43 PM

Yes, this is supported. You need to first have a step to download the module (module tag) and then a step to enable features (feature tag).