Downloading using Recipes?

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


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

In the documentation:

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:

  <Message>Executing step Feature.</Message>

Does Recipes support downloading Modules from a gallery?



Jul 11, 2011 at 8: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).