Open LottePitcher opened 1 year ago
Or... perhaps even better take the approach that Lee Kelleher does in Contentment - test site uses uSync and unattended installation to avoid needing to commit the DB to the repo (https://github.com/leekelleher/umbraco-contentment/tree/develop/src/Umbraco.Cms.10.x)
Feature summary
At the moment the template will add a test site to the solution with the correct dependency on the package project. Should it? The user still needs to go through the install process when first running the test site.
Additional details
Could remove the test site from the repo and add a bool parameter for the user to choose whether they want a test site or not. Then should test site (with reference to project, and add to solution file) it in a postAction script of the template depending on the parameter. Making sure it's the expected version of .net / umbraco, assuming you can do that in CLI