BluePenguin
BluePenguin23h ago

Offline development using local deployment

Hi all! I've got a long train journey coming up with spotty/absent internet. Looking to setup local environment to dev against but noticing a few issues 1. while disconnected from the internet convex dev errors with a failed request to Sentry 2. the dashboard is still hosted on a convex domain (which loops back to my localhost). Is there a dashboard UI available locally? 3. convex is neither picking up env variables in .env.local or inlined in the CLI. My server won't start b/c of some missing env variables, so I can't set them in the dashboard. What am I doing wrong?
2 Replies
Convex Bot
Convex Bot23h ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
erquhart
erquhart18h ago
Local env still has some network ties, I think for the time being using self hosted is your best bet for "airplane mode". https://github.com/get-convex/convex-backend/blob/main/self-hosted/README.md

Did you find this page helpful?