mikelnrd / sourcegraph

Universal code search and navigation tool (self-hosted)

Home Page:https://sourcegraph.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.13 or later)
  • Docker
  • PostgreSQL (v11 or higher)
  • Node.js (version 8 or 10)
  • Redis
  • Yarn
  • Nginx

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. Ensure Docker is running

  2. Initialize the PostgreSQL database

  3. Start the development server

    ./dev/start.sh
    

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

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 web/src/enterprise directories.

All files in the enterprise/ and web/src/enterprise/ directories are subject to the Sourcegraph Enterprise license.

About

Universal code search and navigation tool (self-hosted)

https://sourcegraph.com

License:Other


Languages

Language:Go 50.3%Language:TypeScript 45.1%Language:CSS 1.6%Language:Shell 1.0%Language:PLpgSQL 0.9%Language:Jsonnet 0.5%Language:JavaScript 0.3%Language:Dockerfile 0.2%Language:Python 0.1%Language:HTML 0.1%Language:Assembly 0.0%Language:Makefile 0.0%Language:TSQL 0.0%