#Clarification Needed – Application Deployment & Database Concerns

1 messages · Page 1 of 1 (latest)

stoic frost
#

Personally I feel you need to define your database requirements; and feed that into the emergent chat.

for example if you want your database to run on pgsql - say so.
or if you want to run in a TLS encrypted mysql 8.0 database configured with a multi-master backend - again just say that is what you want.

I've asked for emergent to use external databases (that i built in AWS, and another in CloudFlare), providing API keys etc and declaring them as variables. Worked perfectly.

primal fog
#

I did this with my MongoDB. But every time I deploy a version of my app, the app is empty, although the only DB connected is my MongoDB, which has data in it (I checked with Compass).

There are no errors whatsoever (in the browser console), so I don't understand why I can see the data in the preview, but when deployed, there's no data.

stoic frost
#

Did you directly tell emergent to build your database schema, and initialise the database tables with pre-populated data from your build environment?

I have:
schema.sql - > full table structure
init.sql -> initial users/organisations/roles etc

Of course I know my hashed credentials original password, so i can login to the deployed instance.

You might have something similar to consider.

primal fog
#

tbh, I'm not that 'advanced' with databases. I don't know how they work in this detail. I just thought since I have database with my data which I see and it's being saved when I'm in preview - I though understanding the process of deployment could help me understand why I don't see the data in the Deployed version of my app.

stoic frost
#

If you Save to GitHub, i'll happily jump in and have a look to support.

I don't work for Emergent Support Team btw.
They do look through this channel from time to time, so you may get more support directly from them soon.

#

they will need your job number

primal fog
#

😄

worn blazeBOT
#

Hi yv-

I will need your job ID where you face any issue. You can find it by opening the chat and clicking on the 'i' button in the top right corner. You may have to close the preview to see the button. From the panel that opens, please copy the job ID and share with us.

Thank you
Emergent Team