-
Notifications
You must be signed in to change notification settings - Fork 34
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
Enhance Documentation for Starter App #79
Comments
I'd be thrilled to incorporate thoughts and ideas for doc updates. |
Apologies in advance for this coming out generally as stream-of-consciousness but here we go:
|
@ju-liem Back to you for prioritization and discussion w/ @bernars-usa |
Completely agree here. You'll need to add React as well. This section could contain a bullet list of things you need, along with links, but keeping it brief will prevent us from having to maintain a big "how to learn teh JavaScripts" tutorial that newcomers will constantly want to expand every time they have a problem setting up their environment.
I thought about this some more. At the end of the setup, people want a repo that represents the name of their real us-forms-system project. Since the sample app is very skeletal and their real app will not be a fork that we'd want to merge back into the sample app, a clone seems better. So we could give them the steps to clone the sample, edit the basics in package.json, re-set the
I think a "How do I..." in the docs would be great! Also note that the answers may include using or doing things outside us-forms-system. The React ecosystem already has a lot of components so we should try to use them when possible rather than widening the scope of this project to include them. Especially at the beginning! |
I thought about this some more. At the end of the setup, people want a repo that represents the name of their real us-forms-system project. Since the sample app is very skeletal and their real app will not be a fork that we'd want to merge back into the sample app, a clone seems better. So we could give them the steps to clone the sample, edit the basics in package.json, re-set the git remote origin to their own repo, and push it with a descriptive name. I also thought about this some more, and am going back to wondering about forking. While users won't be contributing back, are there updates we'll want users to get from this repo periodically, or is that aspect being covered with releases (git tags)? If users configure a remote for the fork (https://help.github.com/articles/configuring-a-remote-for-a-fork/), they'll be able to stay in sync (https://help.github.com/articles/syncing-a-fork/). |
We should migrate this ticket to the us-forms-system-starter-app repo. In some future perfect thing we could have a create-forms-app command like create-react-app and that could ask some questions to get everything set up just right. For now I think cloning and a step-by-step for what to change in package.json would be fine. |
I'm planning on putting the instructions in this repo for now and linking to them from us-forms-system-starter-app. I can't think of a good way to segregate the information between the repos, so keeping it all together in one place seems best for now. |
Makes sense! 👍 |
Yep, we've got specific docs tasks in progress on other tickets and PRs. |
As @jcmeloni-usds used the starter app to create a first pass at the H2A superform, she noted that additional examples for the form config and information for getting started with the starter app would make it (even) more useful (than it already is).
@jcmeloni-usds, can you add some of your thoughts/ideas to this issue when you have time?
The text was updated successfully, but these errors were encountered: