Deploy convex in 2 different apps help
Hello guys! I am trying to create a web app for handling deliveries for a restaurant and my idea ( I am just starting in this world) is to build two separate apps one for customers and other for the restaurant owner, both connected to the same convex database, but when I deploy both, one of them fails. Please let me know if there is documentation about this I looked in the Docu and could not find anything.
4 Replies
hey
@Zaimon what errors are you seeing when deploying on the one that fails?
could you share the console outputs? and do both apps work locally before deploying?
Hello @CodingWithJamal I think i am doing something wrong with the init configuration of the projects, it seems that I have to have the same files for querys and mutations on both projects. Is there any way to have the same convex folder in both projects without copying each time I add something?
hmm, one way i did it was to have my convex folder in another git repo, then add it as a sub module and used the convex.json to point the cli to that folder, this way, you can have it synced but its kinda a hack and not the "best" solution i dont think
well it sounds better than copying everything everytime haha
do you have any blog post or some doc to do your workarround?