Cam
Cam•9mo ago

Is there a guide for running convex locally and deploying to the cloud?

I'm not sure how to configure my project, and access the dashboard locally. And then promoting those changes to prod (maybe even via github actions or some other CI) Some docs on the recommended workflow would be very helpful now that the convex binary can be run locally!
2 Replies
ian
ian•9mo ago
No local dashboard access, but you can do npx convex dev --configure to point your project to a cloud project, where you'll have your dashboard / etc. Then you can do npx convex deploy from there. To copy data you can use just convex export before switchin and npx convex import afterwards. To change back, you can comment out the convex env vars in .env.local, then run just convex dev again.
Cam
CamOP•9mo ago
Great! thanks for that @ian 🙂

Did you find this page helpful?