diff --git a/README.md b/README.md index b7f504b..fb223b7 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ See the [O-FISH installation guide](https://wildaid.github.io/), which includes ## Import this repository as standalone code ### 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) diff --git a/WildAidMinimalBackup/wildaid/Agency.bson b/WildAidMinimalBackup/wildaid/Agency.bson new file mode 100644 index 0000000..71e40f6 Binary files /dev/null and b/WildAidMinimalBackup/wildaid/Agency.bson differ diff --git a/WildAidMinimalBackup/wildaid/Agency.metadata.json b/WildAidMinimalBackup/wildaid/Agency.metadata.json new file mode 100644 index 0000000..2de5049 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/Agency.metadata.json @@ -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"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/BoardingReports.bson b/WildAidMinimalBackup/wildaid/BoardingReports.bson new file mode 100644 index 0000000..e69de29 diff --git a/WildAidMinimalBackup/wildaid/BoardingReports.metadata.json b/WildAidMinimalBackup/wildaid/BoardingReports.metadata.json new file mode 100644 index 0000000..22ae6dd --- /dev/null +++ b/WildAidMinimalBackup/wildaid/BoardingReports.metadata.json @@ -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"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/ChangeHistory.bson b/WildAidMinimalBackup/wildaid/ChangeHistory.bson new file mode 100644 index 0000000..e69de29 diff --git a/WildAidMinimalBackup/wildaid/ChangeHistory.metadata.json b/WildAidMinimalBackup/wildaid/ChangeHistory.metadata.json new file mode 100644 index 0000000..16bd666 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/ChangeHistory.metadata.json @@ -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"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/DutyChange.bson b/WildAidMinimalBackup/wildaid/DutyChange.bson new file mode 100644 index 0000000..e69de29 diff --git a/WildAidMinimalBackup/wildaid/DutyChange.metadata.json b/WildAidMinimalBackup/wildaid/DutyChange.metadata.json new file mode 100644 index 0000000..f759366 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/DutyChange.metadata.json @@ -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"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/MenuData.bson b/WildAidMinimalBackup/wildaid/MenuData.bson new file mode 100644 index 0000000..174d1ad Binary files /dev/null and b/WildAidMinimalBackup/wildaid/MenuData.bson differ diff --git a/WildAidMinimalBackup/wildaid/MenuData.metadata.json b/WildAidMinimalBackup/wildaid/MenuData.metadata.json new file mode 100644 index 0000000..6e14d36 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/MenuData.metadata.json @@ -0,0 +1 @@ +{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"},{"v":2,"key":{"agency":1},"name":"agency_1"}],"uuid":"a944c52dd3ee4cc8a122b974cf8c96ac"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/Photo.bson b/WildAidMinimalBackup/wildaid/Photo.bson new file mode 100644 index 0000000..e69de29 diff --git a/WildAidMinimalBackup/wildaid/Photo.metadata.json b/WildAidMinimalBackup/wildaid/Photo.metadata.json new file mode 100644 index 0000000..a7543d5 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/Photo.metadata.json @@ -0,0 +1 @@ +{"options":{"recordPreImages":true},"indexes":[{"v":2,"key":{"_id":1},"name":"_id_"}],"uuid":"82399eb0066048cba8d9cdcef6540709"} \ No newline at end of file diff --git a/WildAidMinimalBackup/wildaid/User.bson b/WildAidMinimalBackup/wildaid/User.bson new file mode 100644 index 0000000..e69de29 diff --git a/WildAidMinimalBackup/wildaid/User.metadata.json b/WildAidMinimalBackup/wildaid/User.metadata.json new file mode 100644 index 0000000..24d6528 --- /dev/null +++ b/WildAidMinimalBackup/wildaid/User.metadata.json @@ -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"} \ No newline at end of file