/sourcegraph

Code search and intelligence, self-hosted and scalable

Primary LanguageGoApache License 2.0Apache-2.0

Sourcegraph

Sourcegraph is a fast, open-source, fully-featured code search and navigation engine.

Screenshot

Features

Try it

Development

Prerequisites

  • Git
  • Go (1.11 or later)
  • Docker
  • PostgreSQL (version 9)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn

For a detailed guide to installing prerequisites, see these instructions.

Installation

  1. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Start the development server

    ./dev/launch.sh
    

Sourcegraph should now be running at http://localhost:3080.

For detailed instructions and troubleshooting, see the local development documentation.

Documentation

The docs folder has additional documentation for developing and understanding Sourcegraph: