Skip to content

Commit

Permalink
Merge pull request #115 from WildAid/small-data-set
Browse files Browse the repository at this point in the history
Small data set
  • Loading branch information
am-MongoDB authored Jul 30, 2020
2 parents db04b98 + 2871b17 commit 2c70451
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ See the [O-FISH installation guide](https://wildaid.github.io/), which includes
## <A NAME="standalone">Import this repository as standalone code</a>
### How to import and configure your own MongoDB Realm app

1. Create your [Atlas Cluster](https://cloud.mongodb.com) and [Realm App](https://cloud.mongodb.com). Optionally, [import sample data](https://wildaid.github.io/)
1. Create your [Atlas Cluster](https://cloud.mongodb.com) and [Realm App](https://cloud.mongodb.com). [Import sample data](https://wildaid.github.io/) (use `WildAidMinimalBackup` if you don't need thousands of sample documents)
1. Take a note of the Realm App-Id `appname-xxxxx`
1. Generate an API key pair for your project and note the public and private IDs (Access Manager/Project) from the Atlas UI
1. Whitelist your IP address for API access (through the Atlas UI)
Expand Down
Binary file added WildAidMinimalBackup/wildaid/Agency.bson
Binary file not shown.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/Agency.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"partnerAgencies":1},"name":"partnerAgencies_1"},{"v":2,"key":{"name":1},"name":"name_1"}],"uuid":"38520208d5f74448b3b35367528c8153"}
Empty file.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/BoardingReports.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"timestamp":1},"name":"timestamp_1"},{"v":2,"key":{"agency":1},"name":"agency_1"},{"v":2,"key":{"vessel.name":1},"name":"vessel.name_1"},{"v":2,"key":{"vessel.permitNumber":1},"name":"vessel.permitNumber_1"},{"v":2,"key":{"captain.name":1},"name":"captain.name_1"},{"v":2,"key":{"crew.name":1},"name":"crew.name_1"},{"v":2,"key":{"crew.license":1},"name":"crew.license_1"},{"v":2,"key":{"inspection.activity.name":1},"name":"inspection.activity.name_1"},{"v":2,"key":{"inspection.fishery.name":1},"name":"inspection.fishery.name_1"},{"v":2,"key":{"inspection.actualCatch.fish":1},"name":"inspection.actualCatch.fish_1"},{"v":2,"key":{"inspection.summary.safetyLevel.level":1},"name":"inspection.summary.safetyLevel.level_1"},{"v":2,"key":{"inspection.summary.violations.disposition":1},"name":"inspection.summary.violations.disposition_1"},{"v":2,"key":{"inspection.summary.violations.offence.code":1},"name":"inspection.summary.violations.offence.code_1"},{"v":2,"key":{"inspection.summary.violations.crewMember.name":1},"name":"inspection.summary.violations.crewMember.name_1"},{"v":2,"key":{"inspection.summary.violations.crewMember.license":1},"name":"inspection.summary.violations.crewMember.license_1"},{"v":2,"key":{"inspection.summary.inspection.gearType.name":1},"name":"inspection.summary.inspection.gearType.name_1"},{"v":2,"key":{"date":1},"name":"date_1"},{"v":2,"key":{"reportingOfficer.email":1},"name":"reportingOfficer.email_1"},{"v":2,"key":{"location":"2dsphere"},"name":"location_2dsphere","2dsphereIndexVersion":3}],"uuid":"1e00b3476f5c455295f9429d50dd36f6"}
Empty file.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/ChangeHistory.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"dateCreated":1},"name":"dateCreated_1"},{"v":2,"key":{"originalDocument._id":1},"name":"originalDocument._id_1"},{"v":2,"key":{"originalDocument.agency":1},"name":"originalDocument.agency_1"}],"uuid":"2e1d660380064bb8930a9b908f74ef2f"}
Empty file.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/DutyChange.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"user.email":1},"name":"user.email_1"},{"v":2,"key":{"date":1},"name":"date_1"}],"uuid":"01e650aaff734949a90afb7fd04fa4d0"}
Binary file added WildAidMinimalBackup/wildaid/MenuData.bson
Binary file not shown.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/MenuData.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"agency":1},"name":"agency_1"}],"uuid":"a944c52dd3ee4cc8a122b974cf8c96ac"}
Empty file.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/Photo.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"}],"uuid":"82399eb0066048cba8d9cdcef6540709"}
Empty file.
1 change: 1 addition & 0 deletions WildAidMinimalBackup/wildaid/User.metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"options":{},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"unique":true,"key":{"email":1},"name":"email_1"},{"v":2,"key":{"realmUserID":1},"name":"realmUserID_1"},{"v":2,"key":{"agency":1},"name":"agency_1"},{"v":2,"key":{"group.name":1},"name":"group.name_1"}],"uuid":"35dcd09b6f094b2b8176df2d5f6e24be"}

0 comments on commit 2c70451

Please sign in to comment.