mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
Introduce introductory CI docs for what's available in the generator and how to interface with it. Also reorganized the dev docs homepage because it was very strange to get all these super detailed guides up-front when 90% of the time I want to find an overview first (in this case, the CI docs page).
7.1 KiB
7.1 KiB
Developing Sourcegraph
This documentation is for developers contributing to the Sourcegraph code base.
Sourcegraph development is open source at:
Getting started
A hands-on introduction for setting up your local development environment.
- Step 1: Install dependencies
- Step 2: Get the code
- Step 3: Install
sg - Step 4: Start Docker
- Step 5: Initialize your database
- Step 6: Configure HTTPS reverse proxy
- Step 7: Start the server
- Step 8: Additional resources
Background information
Clarification and discussion about key concepts, architecture, and development stack.
Overview
Architecture
Development
- 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
- High-performance SQL
- Code host connections on local dev environment
Languages
Extended guides
Testing
Tools
Other
Guidelines
How-to guides
Guides to help with troubleshooting, configuring test instances, debugging, and more.
Local development
- How to debug live code
- Set up local development with Zoekt and Sourcegraph
- Ignoring editor config files in Git
- Use
golangci-lint
New features
Troubleshooting
- Problems with node_modules or Javascript packages
- dial tcp 127.0.0.1:3090: connect: connection refused
- Database migration failures
- Internal Server Error
- Increase maximum available file descriptors.
- Caddy 2 certificate problems
- Running out of disk space
- Certificate expiry
- CPU/RAM/bandwidth/battery usage
- Permission errors for Grafana and Prometheus