maros.studenic
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
Thanks for your time Tom.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
I think it can be in readme for that repo that I send at start. Its demo repo, but has no info about how to set up the vercel deploy for web.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
It just build and passed pipeline
Solution was
set root for app as apps/web
and then
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
Did you came across with some use case like this ?
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
I tried different variations
turbo build && cd packages/backend && npx convex build, but then the deploy of nextjs fails, because its probably in. different folder.
And also found bypass but it generates this error
In order to push, add
convex
to your package.json dependencies.
Error: Command "npx convex deploy --check-build-environment disable --cmd 'turbo run build'" exited with 1
So I am assuming I am starting it in wrong folder29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
But I cant figure out the build command for it that builds nextsj and deploys convex.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
Command can be same, because I have different CONVEX_DEPLOY_KEY in environments so I assume, that it could work with same build command.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
And project is monorepo with web and react native, and is using convex as the package. It uses turbo.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
My setup is
I have two convex projects -
One production
Second Staging
I am using production for production in vercel
And staging in preview in vercel
That lets me test the functionality before I merge it to master. I know that there is a preview db, that i can create, but that would be temporary and I didnt wanted to prefill it each time.
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
I use this command in build
"npx convex deploy --cmd 'turbo run build'"
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
Is there any pypass for this ?
29 replies
CCConvex Community
•Created by maros.studenic on 10/14/2024 in #support-community
deploy turbo project - nextjs, react native, convex on vercel
I got stuck on this
I mean yeah it is preview deployment in vercel
But i created separated project in convex, so I can have one permanent db for testing env and one permanent for production. So it would be nice if I can bypass this error and publish it, so i can see changes in my testing db.
29 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
Oo thanks really nice idea.
15 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
That would break the logic. On the first page there would be company from today till last year. And in the second page there could be also company from today till last year, because it paginates them based on the revenue.
15 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
I think that if I also want a pagination by creation date, then it would need a way to sort the data to paginate them.
15 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
Thanks for the article.
15 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
Yeah I tried, its by first index.
15 replies
CCConvex Community
•Created by maros.studenic on 8/18/2024 in #general
Hey I wanted to ask, is there a way to
okay, so its not supported by default on the query. Because parsing by js its probably slower.
15 replies