Skip to content

Commit

Permalink
Merge pull request #341 from digital-sustainability/saegi
Browse files Browse the repository at this point in the history
fix: handle missing timestamp, add backend logic for institution add function
  • Loading branch information
saegi95 authored Mar 25, 2024
2 parents b5dac1c + f034e0a commit 5dd37fe
Show file tree
Hide file tree
Showing 17 changed files with 16,310 additions and 2,184 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,15 @@ The crawler will just update the data, starting with the oldest timestamp.

## Database Stucture

![System Diagram](/assets/images/DBStructure.png)
![System Diagram](/assets/images/DBStructure.png)

## Update Institutions

Once someone has updated the github_repos.json file and the pull request was merged, the new or updated insitution must be added to the database.

This can be done in 4 easy steps:

1. Pull Repository
2. Connect to DB with MongoDB Compass. The Credentials can be found in Keepass
3. Choose the **production** DB and then todoInstitution collection.
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*.
Loading

0 comments on commit 5dd37fe

Please sign in to comment.