Yeah, what they said. A project has the
Yeah, what they said. A project has the development environment by default. You click a button in the dashboard to create the production environment (in the same project), and if you want to get fancy check the docs for preview environments. Docs on this stuff are pretty good.
5 Replies
thanks @sam and @Jakov, i was trying to ask if you've seen or heard of folks preferring entirely separate convex projects to manage dev vs prod, like myproject-dev and myproject-prod as i've seen folks suggest in other frameworks, or if that would be an anti-pattern
basically the same question as @Uzi (ꏿ﹏ꏿ;) in https://discord.com/channels/1019350475847499849/1371428769822277652/1371890452168577094
Whoops, sorry for the confusion. I’ve not, and mentally, seems like an anti-pattern based on how things are set up with Convex.
gotcha, how do you get a permanent staging env then? need one for beta testers and non-technical cofounder
I believe you'd use a preview environment with a script to load faker.js data.
They're short lived but I suppose if you have a dedicated staging branch, each push would be overwritten within the 14-day window.
https://docs.convex.dev/production/hosting/preview-deployments
Sorry couldn't be more helpful with this, haven't done it myself.
Preview Deployments | Convex Developer Hub
Use Convex with your hosting provider's preview deployments
interesting, i also saw this message from Ian https://discord.com/channels/1019350475847499849/1097959640152686663/1402818299108134993