Docker is required.
docker run \ --publish 7080:7080 --rm \ --volume $HOME/.sourcegraph/config:/etc/sourcegraph \ --volume $HOME/.sourcegraph/data:/var/opt/sourcegraph \ sourcegraph/server:2.4.2
When Sourcegraph is ready, go to http://localhost:7080 to continue setting it up.
After creating an admin 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 read the documentation for adding repositories from other code hosts.
Click Save changes and follow prompt to restart server.
Done! You're ready to search your code.
Follow our quick tutorial to deploy your Sourcegraph Server on Google Cloud Platform to share links, search results, and saved queries with your team.