If the steps below do not work for you, please open an issue on GitHub.

System Requirements

  • Git
  • Docker Desktop or another local Docker engine
  • For the IDE path: VS Code with the Dev Containers extension
  • For the terminal-only path: Node.js on your host so you can install the Dev Container CLI
  1. Fork the Dograh repository at https://github.com/dograh-hq/dograh
  2. Clone your fork:
git clone https://github.com/<GITHUB_HANDLE>/dograh
cd dograh
  1. Start the devcontainer. In VS Code, open the repository and run Dev Containers: Reopen in Container. Without an IDE, use the Dev Container CLI:
npm install -g @devcontainers/cli
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . bash
  1. Wait for the first build to finish. The first build takes several minutes; subsequent opens are much faster.
  2. Start the backend from a terminal inside the container:
bash scripts/start_services_dev.sh
Without an IDE, run the same command from your host:
devcontainer exec --workspace-folder . bash scripts/start_services_dev.sh
  1. Start the UI from another terminal inside the container:
cd ui
npm run dev -- --hostname 0.0.0.0
Without an IDE, use another host terminal:
devcontainer exec --workspace-folder . bash -lc 'cd ui && npm run dev -- --hostname 0.0.0.0'
  1. Verify that the backend is healthy:
curl -X GET localhost:8000/api/v1/health
  1. Open the app at http://localhost:3000.

More Setup Options

  • For what the devcontainer bootstrap does, rebuild guidance, logs, and personal install hooks, see Devcontainer Workflow.
  • If you cloned dograh-hq/dograh directly instead of your fork, see Fork Workflow to reset origin and upstream.
  • If you do not want to use the devcontainer, see Host-managed Setup.