-
-
Notifications
You must be signed in to change notification settings - Fork 1
Contributing to App Code
Jeremy Lang edited this page Jan 20, 2021
·
1 revision
- Get an account on the Docassemble Playground (instructions pinned in #clean-slate-app too)
- At the top right of the page (on https://interviews-dev.gbls.org) , there is a sign-in/signup button. Just click that and follow along to register.
- Click on your username in the top right - it’s a drop down - and click on 'Profile'.
- On that page, click the button for 'Other settings'. That's a drop down too.
- Select 'request developer account'
- Check if you now have a different menu. If not, go to the next step.
- Post in the Slack channel to let us know you’ve done that and we can let our partner know so they can approve it.
- Set up your Github account in the Playground (for now, ask someone about how to do that)
- DO NOT CREATE A FORK OF THE REPO for this purpose. Forks make it hard for reviewers to try out PRs.
- Set up a new 'Project' (for now, ask someone about how to do that)
- Request to be added as a collaborator on https://github.com/codeforboston/docassemble-juvenilesealing
- In the Playground, in your Project, go to the 'Packages' folder and pull the master branch from https://github.com/codeforboston/docassemble-juvenilesealing
- Make edits
- Pick a name for a NEW BRANCH. Use the following naming convention:
number-short-description. For example, if you're working on issue 42, simplifying the language in the form, you could name it42-plain-language. - Create the NEW BRANCH on https://github.com/codeforboston/docassemble-juvenilesealing.
- Make a PR from that branch to the master branch.
If you don't follow a specific procedure, deleted files won't stay deleted.
The Docassemble Playground lets you push to and pull from Github. It's very basic, though, and interacts with Docassemble's Playground files in weird ways. When one person deletes a file, everyone on the team has to go through a process to make sure that file stays deleted.
- Someone merge their changes into the master branch.
- Pull the latest code from the master branch.
- In Playground, go to your Project.
- Then go to Folders > Package Management > Files.
- Using cmd+click or ctrl+click, un-highlight the to-be-deleted files in all the lists of files in the lower part of the page.
- On that page, hit the 'Save' (button's at the bottom).
- Go to edit each of the files to be deleted and click 'Delete' on each one.
- Push all your changes (not sure if this one is needed, especially since it'd be pushing to a new branch).
- Create a new branch.
- You can use a cloned local version or you can do this in github.
- Find all the files manually in the repo. If you can't find one, ask for help.
- Delete it.
- If you did this on your local machine, push your changes to that new branch.
- Follow the instructions above.