Developing Sourcegraph
Documentation for developers contributing to the Sourcegraph code base
Setup
Learn how to develop Sourcegraph on your machine.
★ Quickstart
Run through the step by step guide and get your local environment ready.
How-to guides
Context specific guides: debugging live code
Troubleshooting
Help for the most common problems.
Background information
Clarification and discussion about key concepts, architecture, and development stack.
Overview
Architecture
Development
sg
- the Sourcegraph developer tool- Developing the web clients
- Developing the GraphQL API
- Developing batch changes
- Developing code intelligence
- Developing code insights
- Developing code monitoring
- Developing observability
- Developing Sourcegraph extensions
- Dependencies and generated code
- Code reviews
- Commit messages
- Exposing services
- Developing a store
- Developing a worker
- Developing an out-of-band migration
- Developing a background routine
- Code host connections on local dev environment
- Testing
Languages
SQL
- Using PostgreSQL
- Migrations
- High-performance guides
Security
Tools
Other
Guidelines
How-to guides
Guides to help with troubleshooting, configuring test instances, debugging, and more.
New features
Observability
Documentation
Executors
Testing
- How to write and run tests
- Testing against code hosts