Skip to content

Commit

Permalink
Merge pull request #353 from digital-sustainability/DevDocumentation
Browse files Browse the repository at this point in the history
docs: update dev docs on how to update TodoInstitutions
  • Loading branch information
holdan-8 committed May 15, 2024
2 parents 6815dee + 41b0ee0 commit 8e8abce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ This can be done in 4 easy steps:

1. Pull Repository
2. Enter the connection string, which can be found in Keepass, into the URI field of MongoCompass.
3. Check if the new repository details are valid: the organisation shortname has to match the name in the url of the GitHub page.

![MongoCompass Connection string](/assets/images/MongoConnection.png)

3. Choose the **production** DB and then todoInstitution collection.
4. Choose the **production** DB and then todoInstitution collection.

![Mongo choose DB](/assets/images/MongoDB.png)

4. Press **Add Data -> Import file** and choose github_repos.json. Keep in mind that *Stop on errors* needs to be unchecked. Then just click *Import*.
5. Press **Add Data -> Import file** and choose github_repos.json. Keep in mind that *Stop on errors* needs to be unchecked. Then just click *Import*. Note that Institutions with an ID already present in the DB are not imported/updated in the DB.

![Add new Data to DB](/assets/images/AddData.png)

0 comments on commit 8e8abce

Please sign in to comment.