-
Notifications
You must be signed in to change notification settings - Fork 1
TD-5671 Update initial setup and environment variables instructions #76
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
Conversation
|
@Phil-NHS, this is my draft PR as promised. I'll carry on working through and add more updates. |
|
@Phil-NHS. An observation about adding the package source: Doing this through the VS interface using the raw values may be easier than using PowerShell or editing appdata files directly and will make it universal to all solutions. |
|
@Phil-NHS, I seem to be going through a lot of tweaking appsettings and env variables for purposes that aren't altogether clear when I go through the setup process. For example, I am told to set TELBlazorPackageSource 5 or 6 times, often to the same value. I think we need to simplify this and just give the reader a single setup process in the readme, perhaps explaining the other options and why you might use them later on. I move from one section to the next at the moment, not much changes and I get a sense of déjà vu. I have tried to tidy the first few instances of this in this PR, but I'm getting a bit lost tbh. |
|
I seem to get a build error, and I don't know why. I have started trying to follow the branch and commit naming rules, but I must admit, they feel very fussy. Is there a definite benefit from having them? I think devs will struggle with them. |
|
@Phil-NHS it mentions adding appsetting.Development.json to various projects in the solution. I can find appsettings.Development.json.template only in the TELBlazor.Components.ShowCase.E2ETests.WasmServerHost project. Should I be copying this to the other projects and renaming as appsetting.Development.json? |
You are right. The reason for each setup is so you can see the project build using the project reference, local package reference, and git package reference. The reason the settings can be the same is if someone gets stuck they can know how they all should be. so maybe a code block for the settings would be better and just say which has changed. The setup instead of my intention of enabling the person setting up to check each thing works as they go is making them have an experience of each option. This is not what setup instructions are for and i shouldnt have done it this way. If this were desired it should be in a separate section suggest as "Developers Project Configuration Options". I think the change is at most have a separate section to the setup with option for how you can configure the project relating to how it consumes the TELBlazor.Components package/project and in the setup just have the do the easiest which is use the project reference and not require them to make or consume any packages. As you've said quick setup instructions would be the right first section. But this setup should still just get them straight from A to B just with a little more info for if they get stuck. |
No are you using the most recent release they should be in all of them ... though i think i did notice one missing so at least one i did add after you started i think. ... just checked the repo there are several but i will make sure all of them are there |
the branch rules i think can be used with the git workplace, but really because there wasnt jira tickets with thought out names and preexsiting branches to copy i thought it might just encourage me to keep to good naming, and to reflect the commit naming. I can remove the checks from the pipeline and from the project i am happy with or without them. The commit names however are important, the pipeline reads the names and generates a version number and change log based off them so we should keep to them and then the repo, and package, will be version and have a changelog so we can see what changed between package versions. |
i'd need to see the build error, if its because the package is missing build the blazor.component project first, and/or change to project reference. or check that nuget is looking for it in the right place. but id need to see it |
i think you are right, and because of the caching, i think actually having a local package source and git one in nuget and it just finding the one it can makes sense. ive found despite making the right changes sometimes it doesnt look in the right place. The environmental values need to be there for the pipeline but locally yeah i should just add nuget set up instructions through the ui, and its familiar. which is a bonus. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems much better. Though from you comments on the ticket i think a rewrite is required and better approaches to some of the bits.
The build error was in .net build but seems to have gone away after a subsequent commit. |
|
@Phil-NHS, let me know if you want me to continue with this and make more changes. If not, is it worth merging what I've done so far and working on some of the agreed suggestions? |
|
🎉 This PR is included in version 1.9.0-feat-button-for-cicd-testing.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.9.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Template
TODO:
Test it here too
https://technologyenhancedlearning.github.io/GitPageBlazorWASM-TestGHPage/
check version matches branch name and pullrequest release
TODO: About
SO FAR no js controllers are not going to be covered in testing in the package it will be done by how used in LH
But in future we could simulate them with just an api with stock response or find a programatic way, or build a hosted environment.
The gh-page are pure wasm so not supported for nojs
brave check no js (Locally not on wasm static test page)
TODO: This is just replicating LH for now ... ideas
JIRA link
TD-5671
Description
Updates readme setup instructions, including:
Screenshots
Paste screenshots for all views created or changed: mobile, tablet and desktop, wave analyser showing no errors.
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have:
Either:
Or: