Docker is required.

Step 1: Run Sourcegraph

docker run --publish 7080:7080 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph --volume /var/run/docker.sock:/var/run/docker.sock sourcegraph/server:2.9.2

When Sourcegraph is ready, continue at http://localhost:7080.

Step 2: Add repositories

After creating an account, go to the Configuration page in the site admin area.

Click Add GitHub.com repositories to add all repositories associated with your GitHub.com account, or see how to add repositories from other code hosts.

Step 3: Start searching your code

Done! You're ready to search your code.

Next steps

Questions/feedback? Contact us at @srcgraph or [email protected], or file issues on our public issue tracker.