Skip to content

Commit

Permalink
clarify how to edit data
Browse files Browse the repository at this point in the history
  • Loading branch information
mdahlhausen committed Aug 15, 2023
1 parent f57dfeb commit 1a3e14a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/DeveloperInformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ As you add to/modify the code, please try to fit changes into the current struct

1. Make a new branch for your changes.
2. Modify the code on your branch.
3. If you have data, modify the .json files and run commands to update the database, as appropriate. Historically, openstudio-standards data used a series of google spreadsheets, and is still used for non-90.1- standards. See [OpenStudio_Standards Google Spreadsheet](https://drive.google.com/drive/folders/1x7yEU4jnKw-gskLBih8IopStwl0KAMEi?usp=sharing). Contact <mailto:[email protected]> for edit access.
4. `bundle exec rake data:update` to download the latest version of the spreadsheet from Google Drive and export the JSON files.
3. If you have data, modify the .json files and run commands to update the database, as appropriate. Historically, openstudio-standards data used a series of google spreadsheets, and is still used for non-90.1- standards. See [OpenStudio_Standards Google Spreadsheet](https://drive.google.com/drive/folders/1x7yEU4jnKw-gskLBih8IopStwl0KAMEi?usp=sharing). Contact <mailto:[email protected]> for access.
4. You may edit the spreadsheet or modify a copy of the data, then download the spreadsheet to the `data/standards` directory, and run `bundle exec rake data:update:manual` to update the JSONs.
5. If you have edit access to the spreadsheets, you can use `bundle exec rake data:update` to download the latest version of the spreadsheet from Google Drive and export the JSON files.

### Test the code

Expand Down

0 comments on commit 1a3e14a

Please sign in to comment.