How to Use Convex on GitHub Codespaces
Did you ever wanted to use Convex in GitHub Codespaces and could not? It requires a few extra steps since Codespaces uses port forwarding. Here’s how to get it working. Step 1: Start the Local Convex Server Run the following command to start the Convex development server in local mode: npx convex dev --local Step 2: Retrieve the Admin Key Open the forwarded port 6791 in your browser (click the “Open in Browser” option in Codespaces for that port). You’ll see a JSON response containing your deployment info: ...