Need help with sourcegraph?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

sourcegraph
4.6K Stars 533 Forks Other 12.6K Commits 2.2K Opened issues

Description

Universal code search (self-hosted)

Services available

!
?

Need anything else?

Contributors list

Sourcegraph

build apache license

Sourcegraph OSS edition is a fast, open-source, fully-featured code search and navigation engine. Enterprise editions are available.

Screenshot

Features

Try it yourself

Development

Prerequisites

  • Git
  • Go (1.15 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn

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

Installation

Prebuilt Docker images are the fastest way to use Sourcegraph Enterprise. See the quickstart installation guide.

To use Sourcegraph OSS:

  1. Initialize the PostgreSQL database
  2. Ensure Docker is running
  3. Configure the HTTPS reverse proxy
  4. Start the development server

    ./dev/start.sh
    

Sourcegraph should now be running at https://sourcegraph.test:3443.

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

Documentation

The

doc
directory has additional documentation for developing and understanding Sourcegraph:

License

Sourcegraph OSS is available freely under the Apache 2 license. Sourcegraph OSS comprises all files in this repository except those in the

enterprise/
and
client/web/src/enterprise
directories.

All files in the

enterprise/
and
client/web/src/enterprise/
directories are subject to the Sourcegraph Enterprise license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.