It is second time in a year I watched this. Just to share my learning experience, I believe it would have been far more informative if projects were not created using PowerShell scripts for multiple reasons: 1. For the audience not much familiar with the PowerShell, it could easily distract them from the Orchard Core and force them indulging in to PowerShell bits and bobs, which is not the subject here. 2. In most default cases, PowerShell has high security enabled, so executing such scripts would be problematic, which could again de-track the audience. 3. The script is just creating a solution adding few projects and adding some project referencing. Such exercise would elaborate the process and project structure in broader daylight if done in the Visual Studio UI rather than leaving the impression of some "magic" done by the scripts. Appreciate that not everyone might have the same experience, I am just sharing what I felt.
Is there a tutorial for setting this up without using Powershell commands (through Visual Studio for example)? I don't have access to admin and powershell is locked down so I am unable to use the process in the video
Hi! Yes, you can follow this getting started page to set up your Orchard Core site without the PS scripts: docs.orchardcore.net/en/latest/docs/getting-started/
Error: "The term 'Initialize-OrchardCoreSolution' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again." whatever I try. This is frustrating
See the current installation instructions, please: github.com/Lombiq/Utility-Scripts#installing-the-powershell-modules And the prerequisites: github.com/Lombiq/Utility-Scripts#prerequisites
First day with Orchard Core. Setting up with Blog recipe, using Sql Server. Every connection string I tried, it says connection string is invalid or server is not reachable. While server is running and I am able to connect to it using the exact same connection string from a dotnet 6 console application. No logging, no error, no exception -- What magic do I miss? @Lombiq?
While it's not clear from this yet, one of the reasons why Orchard may not be able to connect to SQL Server is that connections via TCP are not allowed. Check the server's settings. However, for local development, unless you specifically want to implement something just for SQL Server, then using SQLite is easier. Unless you deliberately write SQLite-only low-level code (that you don't need, because higher level services are available), your code will work equally well with all DB engines that Orchard supports, and you can move content and configuration with recipes between enviroments (see ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2c5pbXuJJb0.html).
@@Lombiq Thank you. I started it today. On first runs iy creates many files under wwwroot and App_Data. What of these files should be added to source control and what's are only of local dev interest?
@@guyonfellow We recommend keepin the content and configuration you're using during local development in recipes (see the later videos), and let setup run automatically via Auto Setup (docs.orchardcore.net/en/latest/docs/reference/modules/AutoSetup/). That way, you won't need anything from App_Data or wwwroot under source control. Otherwise, you can keep App_Data in source control while you're only following along the Dojo Course.
@@guyonfellow RU-vid adds the closing parenthesis as part of the link though it really shouldn't, so check out this: docs.orchardcore.net/en/latest/docs/reference/modules/AutoSetup/ Also, sorry for replying thrice - RU-vid sometimes doesn't seem to save comments...
Hi, I'm having trouble logging in to the admin section. I'm entering the password I used during setup, but it's not working. I also tried creating a new user, but I haven't received an email confirmation yet. Can you help me please? Tx!
Hi! How did you try to create a new user then? If nothing works, please delete the App_Data folder. Once you do it, you can set up your site again and create a new admin user. Hope it helps!
Got this error in PowerShell when implementing the source control and module/theme part: Init-OrchardCoreSolution : The term 'Init-OrchardCoreSolution' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. I also tried adding the updated Initalized solution through the utility-scripts and got the same error: Initialize-OrchardCoreSolution -Name "FancyWebsite" -Path "D:\Work\FancyWebsite" -ModuleName "FancyWebsite.Core" -ThemeName "FancyWebsite.Theme"
6:55 That's a pretty big leap, IMO... from Orchard to CMS... analog I think to Python Django, versus a wagtail or django cms, for instance. Something which I think could be differentiated better. Of course I am interested in CMS, but to be clear ^^^^. 7:40 Which again to be clear, from Orchard Core to CMS... big jump there.
@@Lombiq In and of itself, 'Orchard Core' does not provide a CMS. Yes, it provides an 'orchard' for routing hosted applications to modules. In that it is analog, I think, to Python Django. From there, the building blocks contribute to the CMS space.
@@michaelwplde Orchard Core provides framework-like (like Djanog) and user-facing features alike (like any CMS). Please refer to this list for Orchard's content management features: docs.orchardcore.net/en/latest/docs/reference/#content
It became optional in a later Orchard Core version. You can re-enable it from the admin under Configuration -> Settings -> Admin, by ticking "Display New menu".
There's a new option to disable the menu altogether in the latest version of Orchard, yes. Check out our post about it here: orcharddojo.net/blog/culture-settings-deployment-step-display-new-menu-option-this-week-in-orchard-21-02-2021 Also, content types that are not configured as Creatable or where you don't the Create permission won't show up there.
Yes, this is what our script also does behind the scenes: github.com/Lombiq/Utility-Scripts/blob/dev/OrchardCore/Init-OrchardCoreSolution/Init-OrchardCoreSolution.psm1
Hi, I am getting the following error: PS E:\New Volume (F)\Maksud\People\DojoCourse 3> Init-OrchardCoreSolution -Name "Jobprep" -ModuleName "Jobprep.Core" -ThemeName "Jobprep.Theme" Init-OrchardCoreSolution : The term 'Init-OrchardCoreSolution' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Init-OrchardCoreSolution -Name "Jobprep" -ModuleName "Jobprep.Core" - ... + ~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Init-OrchardCoreSolution:String ) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
You'll need to install the Lombiq Utility Scripts for this as explained in its docs: github.com/Lombiq/Utility-Scripts#installing-the-powershell-modules
Thank you. This password was needed for me to enter into admin area after cloning DojoCourse project from GitHub. So I have stucked with it because I have missheared it as "adminPassword1!".