Question: has anyone figured out a good
Question: has anyone figured out a good setup to let claude code have a local convex instance for non interactive sessions (such as when running in github actions)?
1 Reply
I use a script that Claude Code can execute to create a Docker image with Convex and fresh example database. The Docker file is provided by Convex: https://github.com/get-convex/convex-backend/blob/main/self-hosted/docker/docker-compose.yml
I let Claude Code use the script when it needs. Typically it uses it as part of its own testing. Then I do not run headless, but Claude Code will also spin up a Playwright browser to log in and interact with the server.
After the task is finished, Claude Code will delete the virtual machine.
GitHub
convex-backend/self-hosted/docker/docker-compose.yml at main · get...
The open-source reactive database for app developers - get-convex/convex-backend