Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the test site optional? #2

Open
LottePitcher opened this issue Mar 6, 2023 · 1 comment
Open

Make the test site optional? #2

LottePitcher opened this issue Mar 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@LottePitcher
Copy link
Owner

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

@LottePitcher LottePitcher added the enhancement New feature or request label Mar 6, 2023
@LottePitcher LottePitcher changed the title Make the test site optional Make the test site optional? Mar 8, 2023
@LottePitcher
Copy link
Owner Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant