

Guide on Github deployment with MongoDB Realm
source link: https://dev.to/idiglove/guide-on-github-deployment-with-mongodb-realm-1gdo
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Posted on Dec 16
Guide on Github deployment with MongoDB Realm
Hi, me and a friend teamed up for the MongoDB hackathon. And I'm super excited for it! With our idea, it seems like Realm would be the cool features to utilize for this.
It sounds like AWS Lambdas, so I kind of have an idea how this works. And so I was looking for a way to integrate github deployment to my Realm app. Turns out they do have that option! But I hit some roadblocks:
- In the docs, it says there should be an app configuration, but there were so many folders, which ones are actually required?
- What's the best way? To start with an empty repo or with the app config?
- I advise you guys to start with a repo with an /app and a realm_config.json inside it
- Link your github account in Realm.
It should practically look like that. Make sure the directory points to /app
(the docs says its on /dist, and that really confused me), and enable Automatic Deployment so that everytime you make changes in your repo, it will deploy here
- Then to populate your repo, go to Environment Tab, and choose Development, hit Save
- Go to History Tab, there should be a button saying:
Review Draft & Deploy
. Click that and deploy it, what it does is the changes merges to your repo and it populates your app directory
That should be it, let me know if this helped you,
Cheers!
FM
Recommend
-
51
The best thing in the world is when someone just gets you, and you get them , because when you share a visi...
-
27
I had the opportunity to hear Eliot Horowitz , CTO and Co-founder of
-
13
Create Simple POS With React, Node and MongoDB #4: Optimize App and Setup Deployment Workflow
-
7
Showingly Transforms Real Estate with MongoDB Atlas and MongoDB RealmBuying or selling a house is difficult. There are more steps than you could imagine, and each one feels harder than it should be. The improvements that technology h...
-
17
Building a Space Shooter Game that Syncs with Unity and MongoDB RealmAugust 25, 2021
-
14
Take Advantage of Low-Latency Innovation with MongoDB Atlas, Realm, and AWS WavelengthThe emergence of 5G networking signals future growth for low-latency business opportunities. Whether it’s the ever-popular world of gaming, AR/VR,...
-
7
Pratik sharma Posted on Dec 23
-
13
Amey Sunu Posted on Jan 13...
-
4
-
10
Multiplatform Synchronization with Kotlin + Realm and @MongoDB | Talking Kotlin
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK