How to change npx convex dev from (cloud dev ) to other Deployment
so the problem witht this, i want my backend to run on other deployment (festive-perch-70) but i dont whenever i do npx convex dev it use my dev development cloud. please explain how can i do this ?

6 Replies
@Convex Bot
HI there, Please be patient when posting a thread, someone will reply to you if they can help out,
Have you checked this link https://docs.convex.dev/cli ?
second, I think what you're trying to do is correct, You just need to deploy your changes to gihub and where ever you are deploying your website will pickup those changes and deploy them to convex. else use command
npx convex deploy
i don't need to deploy, right now, the problem is that, so in my .env.local i have festive-perch both VITE_CONVEX_URL and CONVEX_DEPLOYMENT, but when i run
npx convex dev
it uses the development cloud database, which i don't want to use it. i want to use festive-perch-70, even though i delete convex/config, logout and then run npx convex dev
, but it always takes development (cloud) not my other deployment?
am right ?maybe try deleting the one that you don't want from the .env.local and only have the one that you want to send the updates to?
I am not enteirly sure how to solve this ngl, usually you should have only one that you're the owner to, and others for other members
"devlepment enviroments" not deployments
VITE_CONVEX_URL=festive-perch-70.xoxo.xoxo
Convex site URL for auth
CONVEX_SITE_URL=http://localhost:5173
CONVEX_DEPLOYMENT=dev:festive-perch-xoxo
i have only festive, nothing else. ?
Each team member on the account has their own development environment, and unfortunately there's currently no way to share them. The only workaround is for another team member to export the data from their dev environment, send you the Zip file, and then you import it into yours, but that's just the data. If you want access to the functions they've been working on (assuming that they're different from yours), you'll need to probably share that via a branch in your repo.
Others have asked for easier ways for team members to share dev environments, so the Convex team is aware of the request, but AFAIK it's not a very high priority.
Heh...I was about to add this to the FAQ, but then discovered that I already had: https://discord.com/channels/1019350475847499849/1412013953776750684