Firstly, please let me know if this is better suited to the Realm Forum at MongoDB.com
Just going through this realm application set up. I'm currently on this page https://wildaid.github.io/build/2020/06/09/Import-Realm-Code.html.
These are the steps and my steps
-
In the template, you have a field called “Path to Realm code”. Go to that directory - you should be inside a directory called WildAidDemo.
Correct, I'm in that dir
-
Edit stitch.json change “name” to your “Realm App Name”
Changed to my app name of "WildAidApp"
-
Edit services/RealmSync/config.json services/mongodb-atlas/config.json
and change the value of “ClusterName” to your “Atlas Cluster Name”
Changed to "O-Fish" my cluster name
-
If you are not using AWS, skip this step. If you are, edit the following files and fill in all the relevant details:
values/awsRegion.json values/destinationEmailAddress.json values/sourceEmailAddress.json
I'm not using an external AWS service as the previous page asks. My Mongo instance is a free tier on AWS however. Do I still need to complete this piece? I did update the awsRegion to us-east-1 after my ignoring it the first time I tried to import the realm-code
-
If you are not using AWS, skip this step. If you are, set accessKeyID if using AWS in the file:
services/AWS/config.json.
Same here, not using AWS, I did use the secret-key it makes you generate in the previous page, as I didn't exist it to make any difference
Do the import, confirm with ‘y’ when prompted to confirm changes. You will paste your Realm App ID into –app-id:
stitch-cli import --strategy=replace --include-dependencies --app-id=REALM_APP_ID
I adjusted this to realm-cli
which I believe is correct and added my REALM_APP_ID too. The same one that was needed from the previous page.
But I get the error could not find realm app
So not exactly sure what I did wrong here?
Again, apologies if this should be in the forum 😄