LarryHopeCode
CCConvex Community
•Created by LarryHopeCode on 4/14/2024 in #support-community
Any document or tips to deploy convex production environment to Google Cloud Run or any other docker
I like this design. Really flexible!
10 replies
CCConvex Community
•Created by LarryHopeCode on 4/14/2024 in #support-community
Any document or tips to deploy convex production environment to Google Cloud Run or any other docker
The first test image size is kind of big, any information of what EXACTLY node version npx convex deploy need and if there is any other packages I could remove, will be great.
10 replies
CCConvex Community
•Created by LarryHopeCode on 4/14/2024 in #support-community
Any document or tips to deploy convex production environment to Google Cloud Run or any other docker
So any suggestion or reference in this good direction? I think once this is done or as example, a lot of good fella will use it. 😉
10 replies
CCConvex Community
•Created by LarryHopeCode on 4/14/2024 in #support-community
Any document or tips to deploy convex production environment to Google Cloud Run or any other docker
And I believe python part is not important, key point is if we don't want to deploy to Vercel or Netflify, could we deploy convex production on docker environement? it should work because it is kinda node.js program (?)
:convex:
10 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
Wow. Still a big confusing after read all these. Our team is on Vercel Pro. And have three environment, main/preview/dev there 1:1 match with our Github. So right now, we could deploy main branch to Vercel with CONVEX_DEPLOY_KEY set. No problem. If we don't want to start the Convex pro plan 'yet', which deployment settings or environment we need to do?
38 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
You could charge the preview deploy after the project is more than two or three.
38 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
Got it. So one more question, before I did any successful test for preview deploy. I need to commit the professional monthly plan first? Although monthly charge is average, still hope you guys could give dev a chance to test use before commitment. It is kind of not the best place to put road blocks for $$$ just saying. 😉
38 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
If I use it, the error message is
Running "pnpm dlx convex deploy --cmd 'pnpm build'"
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +8
++++++++
Progress: resolved 29, reused 8, downloaded 0, added 8, done
Detected a non-production build environment and "CONVEX_DEPLOY_KEY" for a production Convex deployment.
This is probably unintentional.
Error: Command "pnpm dlx convex deploy --cmd 'pnpm build'" exited with 1
Error: Command "pnpm dlx convex deploy --cmd 'pnpm build'" exited with 1
38 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
If I don's use convex deploy, the error message is...
Failed to compile.
./app/[lang]/(app.sno - public)/a/_components/app-navbar.tsx
Module not found: Can't resolve '@/convex/_generated/api'
https://nextjs.org/docs/messages/module-not-found
38 replies
CCConvex Community
•Created by LarryHopeCode on 3/6/2024 in #support-community
Deploy dev or preview to Vercel.
Everything ok! So I could run dev locally perfectly. Just when I deploy to vercel for dev branch, error messages for convex/_generated/api appears. If I switch to production, and add npx convex deploy to build command, then it is ok. So the issue is here: I can not use npx convex deploy in dev branch in vercel, anything else I could do?
38 replies