From e584be000f9f470a8f673cac5f41205c7108124b Mon Sep 17 00:00:00 2001 From: hoa3 Date: Wed, 15 May 2024 13:53:00 +0200 Subject: [PATCH 1/2] docs: update dev docs on how to update TodoInstitutions --- Dev.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dev.md b/Dev.md index e4bf7d91..9c72bfdb 100644 --- a/Dev.md +++ b/Dev.md @@ -36,6 +36,7 @@ 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) @@ -43,6 +44,6 @@ This can be done in 4 easy steps: ![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*. +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*. 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) \ No newline at end of file From 11d2e0f42e93b7b10fdda585f6b3353f92ca79f3 Mon Sep 17 00:00:00 2001 From: hoa3 Date: Wed, 15 May 2024 13:55:06 +0200 Subject: [PATCH 2/2] docs: Update dev docs on how to update TodoInstitutions --- Dev.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dev.md b/Dev.md index 9c72bfdb..b770c314 100644 --- a/Dev.md +++ b/Dev.md @@ -40,10 +40,10 @@ This can be done in 4 easy steps: ![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*. Note that Institutions with an ID already present in the DB are not imported/updated in the DB. +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) \ No newline at end of file