Skip to content

Commit

Permalink
Adding the walkthroughs recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
DemeSzabolcs committed Dec 11, 2023
1 parent be9643b commit 5ada9e7
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.Walkthroughs/Assets/Scripts/walkthroughs.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jQuery(($) => {
{
title: 'Setup recipe',
text: 'The setup recipe in <a href="https://github.com/Lombiq/Orchard-Walkthroughs">Lombiq.Walktroughs module</a>' +
' used the <a href="https://github.com/OrchardCMS/OrchardCore/blob/main/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json">Blog recipe</a>' +
'(named Walkthroughs) used the <a href="https://github.com/OrchardCMS/OrchardCore/blob/main/src/OrchardCore.Themes/TheBlogTheme/Recipes/blog.recipe.json">Blog recipe</a>' +
' as a base recipe. In Orchard Core, a <a href="https://docs.orchardcore.net/en/main/docs/reference/modules/Recipes/">recipe</a> ' +
'is a json file that defines a set of instructions for setting up and configuring an' +
' Orchard Core application. Recipes can include predefined content types, widgets, menus, content items, and other' +
Expand Down
161 changes: 161 additions & 0 deletions Lombiq.Walkthroughs/Recipes/Lombiq.Walkthroughs.Setup.recipe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"name": "Lombiq.Walkthroughs",
"displayName": "Walkthroughs",
"description": "Orchard Core site using the Blog setup recipe, with the Lombiq.Walkthroughs module enabled.",
"author": "Lombiq",
"website": "https://github.com/Lombiq/Orchard-Walkthroughs",
"version": "1.0.0",
"issetuprecipe": true,
"categories": [ "walkthroughs" ],
"tags": [ "walkthroughs" ],

"steps": [
{
"name": "recipes",
"Values": [
{
"executionid": "Lombiq.OSOCE.Web",
"name": "Blog"
}
]
},
{
"name": "feature",
"enable": [
"OrchardCore.AuditTrail",
"OrchardCore.Users.AuditTrail",
"Lombiq.Walkthroughs",

// Themes
"TheBlogTheme",
"TheAdmin",
"SafeMode"
]
},
{
"name": "themes",
"admin": "TheAdmin",
"site": "TheBlogTheme"
},
{
"name": "settings",
"AuditTrailSettings": {
"Categories": [
{
"Name": "Content",
"Events": [
{
"Name": "Created",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Saved",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Published",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Unpublished",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Removed",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Cloned",
"Category": "Content",
"IsEnabled": true
},
{
"Name": "Restored",
"Category": "Content",
"IsEnabled": true
}
]
},
{
"Name": "User",
"Events": [
{
"Name": "PasswordReset",
"Category": "User",
"IsEnabled": true
},
{
"Name": "PasswordRecovered",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Registered",
"Category": "User",
"IsEnabled": true
},
{
"Name": "LoggedIn",
"Category": "User",
"IsEnabled": true
},
{
"Name": "LogInFailed",
"Category": "User",
"IsEnabled": true
},
{
"Name": "LogInIsLockedOut",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Enabled",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Disabled",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Created",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Updated",
"Category": "User",
"IsEnabled": true
},
{
"Name": "Deleted",
"Category": "User",
"IsEnabled": true
}
]
}
],
"ClientIpAddressAllowed": false
},
"AuditTrailTrimmingSettings": {
"RetentionDays": 90,
"LastRunUtc": null,
"Disabled": false
},
"ContentAuditTrailSettings": {
"AllowedContentTypes": [
"Blog",
"BlogPost",
"Article"
]
}
}
]
}

0 comments on commit 5ada9e7

Please sign in to comment.